摘要: // 求一个数组中的最小值 Math.min.apply(this,[100,2,3])call() apply() 改变作用域,区别:第二个参数不同 call(this,name:'hjdj',age:17) 单个写, apply(this,[{name:'hjdj'},{age:17}])数组形 阅读全文
posted @ 2018-12-20 11:21 yaomengli 阅读(200) 评论(0) 推荐(0) 编辑