summaryrefslogtreecommitdiff
path: root/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.1_eval/S15.1.2.1_A4.6.js
blob: 4c7deca7f14efdbb3aac4943a1e94af186df7428 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
* @name: S15.1.2.1_A4.6;
* @section: 15.1.2.1;
* @assertion: The eval property has not prototype property;
* @description: Checking eval.prototype;
*/

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