Opening a file named index.html with the following code on Firefox 43 renders 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'm getting that error?
Classes aren't supported in Firefox version < 45 according to this
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With