S15.4.4.5_A3.1_T1.js: Fix inconsistent error message

Test for x.join(NaN) reports an error using the content of x.join("NaN"). This is confusing.
This commit is contained in:
Thomas Wood 2015-05-15 15:05:48 +01:00
parent 5ce9712be0
commit af64d5e6de
1 changed files with 1 additions and 1 deletions

View File

@ -48,5 +48,5 @@ if (x.join(undefined) !== "0,1,2,3") {
//CHECK#7
if (x.join(NaN) !== "0NaN1NaN2NaN3") {
$ERROR('#7: x = new Array(0,1,2,3); x.join("NaN") === "0NaN1NaN2NaN3". Actual: ' + (x.join("NaN")));
$ERROR('#7: x = new Array(0,1,2,3); x.join(NaN) === "0NaN1NaN2NaN3". Actual: ' + (x.join(NaN)));
}