mirror of
https://github.com/tc39/test262.git
synced 2025-07-26 15:34:29 +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() {
|
function $DONOTEVALUATE() {
|
||||||
|
// This function MUST NOT throw a Test262Error.
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user