2014年11月2日
摘要: //求 [a,b]之间的随机整数Math.floor(Math.random()*(b-a+1)+a) 阅读全文
posted @ 2014-11-02 17:55 狂奔的冬瓜 阅读(131) 评论(0) 推荐(0) 编辑
摘要: js中 在函数内部 有 两个特殊的对象 arguments 和 this arguments保存的是函数的参数,类数组的形式 this 保存的当前执行环境,也可以说成web中的上下文一,(1)先说argu... 阅读全文
posted @ 2014-11-02 17:45 狂奔的冬瓜 阅读(158) 评论(0) 推荐(0) 编辑