我看到很多Let value be ?
, Return ?规范中的某事
。 example
谁知道?的意思。
最佳答案
Abstract operations referenced using the functional application style and the method application style that are prefixed by
?
indicate that ReturnIfAbrupt should be applied to the resulting Completion Record.For example, ? operationName() is equivalent to ReturnIfAbrupt(operationName()).
Similarly, ? someValue.operationName() is equivalent to ReturnIfAbrupt(someValue.operationName()).
关于javascript - ECMAScript 规范 : meaning of question mark in the spec,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41733976/