标签:style blog color io ar java sp div c
<html> <body> <script type="text/javascript"> Function.prototype.get_my_name = function(){ return this; }; var func = function(){ this.my_name = ‘function name‘; } console.log(func.get_my_name()); console.log(func.my_name);//想明白为什么不能够输出my_name </script> </body> </html>
标签:style blog color io ar java sp div c
原文地址:http://www.cnblogs.com/ghgyj/p/4006221.html