I made the thing in the thing print “hello world” with C# once, is JavaScript for me?
Comment on Pick a side Javascript
Konlanx@feddit.de 1 year agoJS !== Java
Try Javascript some day!
We have truthy and falsy! Empty string or null? Yeah, that’s false! Of course we can parse a string to number, but if it’s not a number it’s NaN! null >= 0 is true! Assign a variable with =, test type equality with == and test actual equality with ===. You will NEVER use the wrong amount of = anywhere, trust me! Our default sort converts everything to string, then sorts by UTF-16 code. So yes, [1, 10, 3] is sorted and you are going to live with it. True + true = 2. You know I’m right.
Try Javascript today!
Comment105@lemm.ee 1 year ago
Beanie@programming.dev 1 year ago
True + true = 2
. I’ve heard memes about Javascript, but jeez. It’s really that bad?