I have see many occurrence of Let value be ?
, Return ? sth
in the specification.example
Anyone know what is the meaning of the ?.
From 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()).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With