好好爱自己!

摘要: javascript 中 arguments.callee属性 可以在函数内部,指向的是这个函数(或者叫做“类”)本身。 相当于PHP 中的 self 关键字。 The arguments.callee property contains the currently executing functi 阅读全文
posted @ 2016-09-23 13:23 立志做一个好的程序员 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 1. Why JavaScript functions always return a value? I'm taking a course in JavaScript programming, and the instructor said that a typical JavaScript fu 阅读全文
posted @ 2016-09-23 13:16 立志做一个好的程序员 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 闭包: function 内部访问外部的variables 报错了。 Certain language constructs block the error, for example typeof x works if there is no x (and returnsundefined), bu 阅读全文
posted @ 2016-09-23 10:39 立志做一个好的程序员 阅读(214) 评论(0) 推荐(0) 编辑

不断学习创作,与自己快乐相处