summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/eval/no-proto.js
blob: 6e58d5d9389c10990dd7e5f3be34d6a464222924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: The eval property has not prototype property
esid: sec-eval-x
description: Checking eval.prototype
---*/

//CHECK#1
if (eval.prototype !== undefined) {
  throw new Test262Error('#1: eval.prototype === undefined. Actual: ' + (eval.prototype));
}

reportCompare(0, 0);