👩💻 Join our community of thousands of amazing developers!
In JavaScript there are little technicalities that don’t quite make sense at first until you discover them. Now, everyone has their own list of JavaScript Gotchas, but things like “JavaScript is case sensitive” isn’t a real gotcha. To me, that is how it should be. It’s not a confusing trick. It’s just technical in that way. A true “gotcha” to me is when 1 == 1 and 1 == '1' is true, but [] == [] is not true. Albeit, this is one of the more simple “gotchas”, it still doesn’t immediately appear int...