gpt4 book ai didi

javascript - ECMAScript 规范 : meaning of question mark in the spec

转载 作者:行者123 更新时间:2023-11-29 21:11:19 25 4
gpt4 key购买 nike

我看到很多Let value be ?, Return ?规范中的某事example

谁知道?的意思。

最佳答案

来自 Algorithm Conventions ,

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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com