Echo JS 0.11.0

<~>
MaxArt 2984 days ago. link 1 point
Yes, that is a thing, although many didn't know it because most of ES2015 code - let alone ES2015 - gets transpiled.
Honestly I'd have preferred to trigger strict mode as soon as non-simple parameters get parsed.
You want to use default arguments, argument destructuring, spread operators? Fine, but you'll be in strict mode.

But I guess keeping the "use strict" directive mandatory for strict mode make things clearer... But the workaround is messy, sadly.

Replies