blob: a85f75e2760cf2e70ee6d13a7064df673866536b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.4.4.13_A5.4;
* @section: 15.4.4.13;
* @assertion: The length property of unshift is 1;
* @description: unshift.length === 1;
*/
//CHECK#1
if (Array.prototype.unshift.length !== 1) {
$ERROR('#1: Array.prototype.unshift.length === 1. Actual: ' + (Array.prototype.unshift.length));
}
|