Opening a file called index.html with the following code in Firefox 43 produces the following error:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script> "use strict"; class RangeIterator {} </script> </head> <body> </body> </html>
I see the following error in the console:
SyntaxError: class is a reserved identifier
Any idea why I am getting this error?
source share