• 0 Posts
  • 22 Comments
Joined 11 months ago
cake
Cake day: August 16th, 2023

help-circle




  • I agree with you mostly, and thank you for giving such a passionate and important response.

    The problem is not the people though. Placing the “blame” or responsibility on the victims of this invasive behaviour is not the correct conclusion. These settings are deliberately obfuscated and people are uneducated on privacy and how it relates to technology. This is not their fault. Life is far too complicated to place yet another burden on the individual who already has so much to think about. The change needs to come from the people, yes, but it is not the people who need to change.













  • if you care enough about climate change to not have children you should have adopt children.

    This will reduce the population increase, while at the same time help children already in the world and being dealt a shit hand. It’s not an easy role to take, but if it makes one child happier then it’s worth it.




  • activ8r@sh.itjust.workstoProgrammer Humor@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    9 months ago

    In JS a Boolean has 4 states.
    true
    false
    undefined (where the key is set to undefined)
    undefined (where the key doesn’t exist on the object)

    if (obj.value === true) {  
        console.log(1);
    } else if (obj.value === false) {
        console.log(2);
    } else if ("value" in obj) { // key "value" is in the obj, but it is set to undefined 
        console.log(3);
    } else { // key "value" is not in object
        console.log(4);
    }
    

    You’re welcome.