Debian Codegraph @

js/src/tests/test262/harness/sta.js

raw
1 // Copyright (c) 2017 Rick Waldron. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 description: >
5 Including sta.js will expose three functions:
6
7 Test262Error
8 Test262Error.thrower
9 $DONOTEVALUATE
10 ---*/
11
12 assert(typeof Test262Error === "function");
13 assert(typeof Test262Error.prototype.toString === "function");
14 assert(typeof Test262Error.thrower === "function");
15 assert(typeof $DONOTEVALUATE === "function");
16
17 reportCompare(0, 0);