-
-
Save jevuu/552694721103f4e39304fbd33e9f1287 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Original file name: S15.4.4.8_A1_T1.js | |
//Modified file name: empty_NumberConstant.js | |
/*-- ORIGINAL CODE BLOCK | |
//CHECK#1 | |
var x = []; | |
var reverse = x.reverse(); | |
if (reverse !== x) { | |
$ERROR('#1: x = []; x.reverse() === x. Actual: ' + (reverse)); | |
} | |
--*/ | |
//--- MODIFIED CODE BLOCK | |
var x = []; | |
var reverse = x.reverse(); | |
array.compareArray(reverse, x, "Reversed empty array does not match empty array."); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment