tests/auto/qml/ecmascripttests/test262/test/built-ins/eval/no-proto.js
raw| 1 | // Copyright 2009 the Sputnik authors. All rights reserved. |
| 2 | // This code is governed by the BSD license found in the LICENSE file. |
| 3 | |
| 4 | /*--- |
| 5 | info: The eval property has not prototype property |
| 6 | es5id: 15.1.2.1_A4.6 |
| 7 | es6id: 18.2.1 |
| 8 | esid: sec-eval-x |
| 9 | description: Checking eval.prototype |
| 10 | ---*/ |
| 11 | |
| 12 | //CHECK#1 |
| 13 | if (eval.prototype !== undefined) { |
| 14 | $ERROR('#1: eval.prototype === undefined. Actual: ' + (eval.prototype)); |
| 15 | } |