mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
Add requirement distinguishing $DONOTEVALUATE from Test262Error
This commit is contained in:
parent
ced63df97b
commit
46e26a99a6
@ -24,5 +24,6 @@ $ERROR = function $ERROR(message) {
|
||||
};
|
||||
|
||||
function $DONOTEVALUATE() {
|
||||
// This function MUST NOT throw a Test262Error.
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user