摘要: 感觉就是C++中的 functor+bind.http://stackoverflow.com/questions/5176313/javascript-curry// define the curry() functionfunction curry(fn, scope) { // set the scope to window (the default global object) if no scope was passed in. scope = scope || window; // Convert arguments into a plain array, bec... 阅读全文
posted @ 2013-10-25 17:18 LambdaTea 阅读(438) 评论(0) 推荐(0) 编辑