Javascript is weird
I’ve used JS a lot over the years, but I never stopped to think about how weird some of the design choices compare to other programming languages. I found this article linked from one title Javascript is bad. “Why [‘1’, ‘7’, ’11’].map(parseInt) returns [1, NaN, 3] in Javascript.” | learn more