diff --git a/js/tests/ecma_2/String/match-002.js b/js/tests/ecma_2/String/match-002.js index 1820d8a4d8f..406c87b7ced 100644 --- a/js/tests/ecma_2/String/match-002.js +++ b/js/tests/ecma_2/String/match-002.js @@ -63,7 +63,7 @@ "re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex =0", s, s.lastIndexOf("0"), - ["02134", ]); + ["02134", "02134"]); re.lastIndex = s.length; @@ -82,7 +82,7 @@ s.lastIndexOf("0"), s, s.lastIndexOf("0"), - ["02134"]); + ["02134", "02134"]); re.lastIndex = s.lastIndexOf("0") + 1;