Add requirement distinguishing $DONOTEVALUATE from Test262Error

This commit is contained in:
Richard Gibson 2020-08-19 20:56:20 -04:00 committed by Rick Waldron
parent ced63df97b
commit 46e26a99a6
1 changed files with 1 additions and 0 deletions

View File

@ -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.";
}