DEV Community

loading...

Discussion on: The perfect non-null test

Collapse
stevengamer193 profile image
Steven Gamer

if (eyes.opened) {
Jaw.dropped = true;
ShowAppreciation();
}

// Thank you! I will definitely
// use this in my code moving
// forward. One big thing about
// it is the fact it's READABLE!