Hacker News new | past | comments | ask | show | jobs | submit login

http://www.ecma-international.org/ecma-262/5.1/#sec-4.3.19

As for why? I have no clue. It's specified in the specification. That's all. There are ToInteger(), ToInt32(), ToUint16(), ToUInt32 functions defined as well, but I think that's for the host to implement

EDIT: oops. there isn't a ToInt64() function defined.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: