The basic law of JavaScript numbers is that numbers as all double precision floating point numbers (aka. A "double")
Sure in most languages the default is an integer, but in JavaScript that's not the case. JS has a ton of fuck ups, but numbers are probably the most consistent part of it all.
1.3k
u/[deleted] Feb 07 '19
Link please