test262/test/built-ins/eval/length-value.js

14 lines
335 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 length property of eval is 1
2014-07-25 00:41:42 +02:00
es5id: 15.1.2.1_A4.4
description: eval.length === 1
---*/
//CHECK#1
if (eval.length !== 1) {
$ERROR('#1: eval.length === 1. Actual: ' + (eval.length));
}