r/learnjavascript • u/pmz • Apr 22 '20
14 Fundamental JavaScript Concepts Explained Simply - Dotted Squirrel
https://dottedsquirrel.com/javascript/fundamentals/
140
Upvotes
1
u/justingolden21 Apr 23 '20
What about negative infinity, not just positive? Also triple equals === seems worth mentioning in that category. I also feel that you should mention that & and friends are bitwise operations, while && and friends are logical operators.
Overall nice read.
0
Apr 23 '20
[deleted]
2
u/Montuckian Apr 23 '20
Definitely a good point and you can take it a step further:
Everything that's not a primitive (number, string, boolean, undefined, null) is an object in JS.
14
u/DilatedTeachers Apr 23 '20
A few of thoughts. Mainly about the graphic; most could also be applied to the article:
Lack of const
= is hard to read
missed the s in "is case sEnEtiVe"
multiline arrow functions: returns are not required - e.g. you could be mutating data outside the function
no strict equals in comparisons section
the & and | operators are bitwise, and generally aren't used. && And || are the one's you probably mean?