summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/eval/no-proto.js
blob: a384d2e9b7e52560ad78d71ec0a4b7a4aec67fb8 (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) {
  $ERROR('#1: eval.prototype === undefined. Actual: ' + (eval.prototype));
}

reportCompare(0, 0);