Okay, so if (note) checks to see if note exists. If note exists, it can't be undefined or null. I think I get it.
You are viewing a single comment's thread from:
Okay, so if (note) checks to see if note exists. If note exists, it can't be undefined or null. I think I get it.
All languages have their quirks. Take this in C
int a = 0; if (a){...} // = false int b = anything but 0 if (b) {...} // = trueIt gets abused in that language a fair bit :)