Re:Dynamic Languages Are Static Languages (2011)
by chc on Thursday July 23, 2015 @03:22PM
(#9937894)
No, it returns an integer. ECMAScript doesn't officially have a distinct integer type, but the number returned will still be an integer. Incidentally, most JavaScript implementations actually do have an internal integer representation, even though typeof will still just say it's a number.
[ Parent
| on HN ]
There are no comments on this comment yet.