google-code-export / esprima

Automatically exported from code.google.com/p/esprima
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Error on "function(l) l === listener" #618

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write "function(l) l === listener" in the online validator.

What is the expected output?
Similar to "l => l === listener".

What do you see instead?
"Error: Line 1: Unexpected token ("

What version of the product are you using? On what operating system? Which
browser?
http://esprima.org/demo/parse.html

Please provide any additional information below.
Found here: 
https://github.com/paulrouget/firefox.html/pull/76#discussion_r21884002

Original issue reported on code.google.com by philippz...@gmail.com on 16 Dec 2014 at 9:18

GoogleCodeExporter commented 9 years ago
Sorry, can be closed. This was non-valid: 
https://github.com/paulrouget/firefox.html/pull/76#discussion_r21885817

(It seems I can't close this myself?)

Original comment by philippz...@gmail.com on 16 Dec 2014 at 10:56

GoogleCodeExporter commented 9 years ago

Original comment by ariya.hi...@gmail.com on 17 Dec 2014 at 5:43