Open slrem opened 1 year ago
It’s an ES3 runtime. "use strict" is an ES5 feature.
What? It's an ES5 runtime with the caveat that "use strict";
has no effect.
"use strict" will parse, but does nothing. Otto targets ES5
I believe what @slrem is trying to say is that while "use strict" parses, it doesn't produce the desired effect and prevent the use of undeclared variables for example, which while documented isn't ideal.
Is that the case @slrem?
That was my understanding too - my hope was that quoting both lines from the README would answer both posts. I should have @'d people to be clear.
yes
Happy for someone to put in a PR that addresses this current short coming.
I'll keep this open so people can see that it's something that they can help contribute to.
"use strict" is not in effect