mirror of https://github.com/tc39/test262.git
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…
Reference in New Issue