Dynamic types aren’t static types my man. I think you got some learning to do.
- 0 Posts
- 5 Comments
Joined 2 years ago
Cake day: June 14th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Lol you’ll get no argument from me. It’s not my favorite language.
Theoretically, Javascript is an untyped language, so there aren’t supposed to really be static types. Giving type errors in this situation would be against design.
I know this is for fun, but as general advice to the homies, if a language or system is doing something you didn’t expect, make sure to look at the documentation
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt
This will save a lot of time and headaches
Lol like facilitate versus effectuate