test262/test/built-ins/eval/no-proto.js

16 lines
409 B
JavaScript

// 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
es5id: 15.1.2.1_A4.6
es6id: 18.2.1
esid: sec-eval-x
description: Checking eval.prototype
---*/
//CHECK#1
if (eval.prototype !== undefined) {
$ERROR('#1: eval.prototype === undefined. Actual: ' + (eval.prototype));
}