我见过很多这样的情况Let value be ?
, Return ? sth
在规范中。example https://tc39.github.io/ecma262/#sec-tonumber
有谁知道 的含义是什么?
From 算法约定 http://www.ecma-international.org/ecma-262/7.0/#sec-algorithm-conventions,
使用函数式应用程序风格引用的抽象操作
以及前缀为的方法应用程序样式?
表明
那突然返回 http://www.ecma-international.org/ecma-262/7.0/#sec-returnifabrupt应应用于所得结果完成记录 http://www.ecma-international.org/ecma-262/7.0/#sec-completion-record-specification-type.
例如, ?操作名称()相当于突然返回 http://www.ecma-international.org/ecma-262/7.0/#sec-returnifabrupt(操作名称())。
相似地, ?一些值.operationName() 相当于突然返回 http://www.ecma-international.org/ecma-262/7.0/#sec-returnifabrupt(一些值.操作名称())。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)