Similar to "use strict", we should have a directive that enables the use of the NilScript feature superset (and would be a superset of Strict Mode).
Certain ECMAScript features could be disabled in "NilScript Mode", for example: decorators. This allows NilScript to coexist with ECMAScript when they define syntax that we already use.
Similar to
"use strict"
, we should have a directive that enables the use of the NilScript feature superset (and would be a superset of Strict Mode).Certain ECMAScript features could be disabled in "NilScript Mode", for example: decorators. This allows NilScript to coexist with ECMAScript when they define syntax that we already use.