摘要:
考察 ECMAScript 语言规范中 new 运算符的定义:The new OperatorThe production NewExpression : new NewExpression is evaluated as follows:Evaluate NewExpression.Call GetValue(Result(1)).If Type(Result(2)) is not Object, throw a TypeError exception.If Result(2) does not implement the internal [[Construct]] method, thr 阅读全文