Where is the documentation for the built-in JavaScript function toString?
Posted
by hekevintran
on Stack Overflow
See other posts from Stack Overflow
or by hekevintran
Published on 2010-05-13T18:59:12Z
Indexed on
2010/05/13
19:04 UTC
Read the original article
Hit count: 143
JavaScript
I was looking through the jQuery code and found that isArray is implemented using the built-in function toString. I cannot find the documentation for this function on MDC. Does the doc exist? What does this function do?
isArray: function( obj ) {
return toString.call(obj) === "[object Array]";
},
© Stack Overflow or respective owner