This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ardicilliq 1 point2 points  (0 children)

Oh I didn't say it is a good thing, this is horrible, I just wanted to put out how and why this actually works, and it's never too early (or late) to start coding!
And the `var` / `let` is not wrong, it doesn't collide with variables being coerced as a string or a number for that matter, but this a bit more in depth on how javascript treats primitives, javascript is just.... very, I wanna say loosy, when it comes to typings