- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 JavaScript "filter" and "map"
filter 方法 (Array) (JavaScript) 返回数组中的满足回调函数中指定的条件的元素。
2014-08-09 22:14:32 654
原创 JavaScript function return function..
var say = function(string1) { return function(string2) { return string1 + ' ' + string2; } }
2014-08-09 01:06:57 653
原创 JavaScript "prototype"
//给所有的对象增加方法 Function.prototype.addMethod=function(methodName,func){ this.prototype[methodName]=func; return this; } //给数字添加取整的方法 Number.addMethod("intValue",function(){ return Math[this<0
2014-08-09 00:48:49 570
原创 JavaScript "typeof" and "in"
Q:There is a house with 4 levels. In that house there is an elevator. You can program this elevator to go up or down, depending on what button the user touches inside the elevator. levels can be on
2014-08-09 00:43:01 520
subversion 1.78客户端+服务端+源码
2013-03-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人