test262/test/suite/ch15/15.4/15.4.4/15.4.4.7/S15.4.4.7_A6.4.js
2011-10-03 13:04:52 -07:00

17 lines
416 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* The length property of push is 1
*
* @path ch15/15.4/15.4.4/15.4.4.7/S15.4.4.7_A6.4.js
* @description push.length === 1
*/
//CHECK#1
if (Array.prototype.push.length !== 1) {
$ERROR('#1: Array.prototype.push.length === 1. Actual: ' + (Array.prototype.push.length));
}