# 11-23
参考:
进度:
# 原子笔记
多参数柯里化
function curry(func) { return function curried(...args) { if (args.length >= func.length) { return func.apply(this, args); } else { return function(...args2) { return curried.apply(this, args.concat(args2)); } } }; }1
2
3
4
5
6
7
8
9
10
11
12
13
14在
obj.method()中,.返回的准确来说不是属性的值,而是一个特殊的 “Reference Type” 值((base, name, strict)),其中储存着属性的值和它的来源对象。base是对象。name是属性名。strict在use strict模式下为 true