Apply and arrays: three tricks
This blog post describes three tricks for working with arrays via apply.
The apply method
apply is a method that all functions have. Its signature is
func.apply(thisValue, [arg1, arg2, ...])
转载
2017-10-14 21:24:27 ·
354 阅读 ·
0 评论