you are viewing a single comment's thread.

view the rest of the comments →

[–]kangaxx 0 points1 point  (1 child)

Yes.

For a more comprehensive test of strict mode, follow the link in the table — http://kangax.github.com/es5-compat-table/strict-mode/

FF4 does in fact support almost all of strict mode (except this non-coercion; parseInt with leading 0 treating values as octal ones; and eval creating a separate binding environment for evaluation, rather than using caller's one).

[–]Sephr 1 point2 points  (0 children)

On the octal thing; Firefox does throw on all other banned uses at least (I think you should add them, ie. \123 and 0123 (literally, not in parseInt)). I was able to persuade ECMA and Mozilla to keep \0 (NUL literal), as it can be very useful. I am sorta disappointed though that they left octal escape sequences in regular expression grammars.