JavaScript: The Definitive Guide, Sixth Editio javaScript权威指南(第6版) pdf 文字版-文字版, javascript电子书, 和javascript 有关的电子书:

8.7.5 The toString() Method

8.7.5 The toString() Method


Like all JavaScript objects, functions have a toString() method. The ECMAScript spec requires this method to return a string that follows the syntax of the function declaration statement. In practice most (but not all) implementations of this toString()method return the complete source code for the function. Built-in functions typically return a string that includes something like “[native code]” as the function body.

8.7 Function Properties, Methods, and Constructor | 189

欢迎转载,转载请注明来自一手册:http://yishouce.com/book/1/31369.html
友情链接It题库(ittiku.com)| 版权归yishouce.com所有| 友链等可联系 admin#yishouce.com|粤ICP备16001685号-1