Skip to content
Snippets Groups Projects
Commit af64d5e6 authored by Thomas Wood's avatar Thomas Wood
Browse files

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.
parent 5ce9712b
No related branches found
No related tags found
No related merge requests found
......@@ -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)));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment