Automatic variable declaration

simply = 'beautiful'
if simply is not declared, it will be declared as var

It's right there in the engine when exception is thrown, just rewrite throwing exception to declaring variable.

It's only an exception in strict mode; in sloppy mode that creates a global variable. It would absolutely not be web compatible to change that.

2 Likes