Update S15.4.4.11_A7.2.js (#777)

`Array.prototype.sort` should be used instead of `Array.sort`
This commit is contained in:
Viktor 2016-10-20 03:00:35 +06:00 committed by Tom Care
parent fb61ab44eb
commit 22f8df2315
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ description: Checking use hasOwnProperty, delete
//CHECK#1
if (Array.prototype.sort.hasOwnProperty('length') !== true) {
$ERROR('#1: Array.sort.prototype.hasOwnProperty(\'length\') === true. Actual: ' + (Array.sort.prototype.hasOwnProperty('length')));
$ERROR('#1: Array.prototype.sort.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.sort.hasOwnProperty('length')));
}
delete Array.prototype.sort.length;