- array( "(function(){return\nx;})", "(function(){return\nx;})" ),
- array( "throw\nx;", "throw\nx;" ),
- array( "while(p){continue\nx;}", "while(p){continue\nx;}" ),
- array( "while(p){break\nx;}", "while(p){break\nx;}" ),
- array( "var\nx;", "var x;" ),
- array( "x\ny;", "x\ny;" ),
- array( "x\n++y;", "x\n++y;" ),
- array( "x\n!y;", "x\n!y;" ),
- array( "x\n{y}", "x\n{y}" ),
- array( "x\n+y;", "x+y;" ),
- array( "x\n(y);", "x(y);" ),
- array( "5.\nx;", "5.\nx;" ),
- array( "0xFF.\nx;", "0xFF.x;" ),
- array( "5.3.\nx;", "5.3.x;" ),
+ [ "(function(){return\nx;})", "(function(){return\nx;})" ],
+ [ "throw\nx;", "throw\nx;" ],
+ [ "while(p){continue\nx;}", "while(p){continue\nx;}" ],
+ [ "while(p){break\nx;}", "while(p){break\nx;}" ],
+ [ "var\nx;", "var x;" ],
+ [ "x\ny;", "x\ny;" ],
+ [ "x\n++y;", "x\n++y;" ],
+ [ "x\n!y;", "x\n!y;" ],
+ [ "x\n{y}", "x\n{y}" ],
+ [ "x\n+y;", "x+y;" ],
+ [ "x\n(y);", "x(y);" ],
+ [ "5.\nx;", "5.\nx;" ],
+ [ "0xFF.\nx;", "0xFF.x;" ],
+ [ "5.3.\nx;", "5.3.x;" ],
+
+ // Cover failure case for incomplete hex literal
+ [ "0x;", false, false ],
+
+ // Cover failure case for number with no digits after E
+ [ "1.4E", false, false ],
+
+ // Cover failure case for number with several E
+ [ "1.4EE2", false, false ],
+ [ "1.4EE", false, false ],
+
+ // Cover failure case for number with several E (nonconsecutive)
+ // FIXME: This is invalid, but currently tolerated
+ [ "1.4E2E3", "1.4E2 E3", false ],