Claude Pache (2013-02-18T14:07:07.000Z)
github at esdiscuss.org (2013-07-12T02:26:27.665Z)
> On older browser not running strict mode I was precisely going to write that it is missing an important explicit advice to produce code that runs both under strict and non-strict mode. > 1) stay away from things where the semantics is different > 1.1) eval Indeed, eval should only be used by experts; ironically, experts try to avoid eval. :-) > 1.2) arguments (unless you're in a case where you'd use ...args in ES6) I would say: Use the "arguments" object only for arguments that are not explicitly named. (And perhaps: use named arguments when possible, although it is more a question of good style than anything else. I guess it is what you meant by "unless you're in a case where you'd use ...args in ES6", but that phrase was a bit confusing for me.)