3 ms·
I actually had no idea there was a difference between number values and number objects. Definitely one of the more confusing areas of Javascript.
by pc2g4d 10y ago
I actually had no idea there was a difference between number values and number objects. Definitely one of the more confusing areas of Javascript.
- tracker1 10y agoSimilarly, there is a String object for string values as well... Sometimes the behavior can seem weird, but for the most part, it works.