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

14 lines
374 B
JavaScript
Raw Normal View History

// 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
2017-06-29 19:36:48 +02:00
esid: sec-eval-x
description: Checking eval.prototype
---*/
//CHECK#1
if (eval.prototype !== undefined) {
$ERROR('#1: eval.prototype === undefined. Actual: ' + (eval.prototype));
}