3 ms·
> I suppose it works as a poor man's named argument. Sure, if by “poor man” you refer to the guy who has to debug that “code”. Name a variable with an existing
by wonderbore 4y ago
> I suppose it works as a poor man's named argument.
Sure, if by “poor man” you refer to the guy who has to debug that “code”. Name a variable with an existing or unwritable `window` property and enjoy.
Don’t do this stuff, use a linter and a decent editor that can do this automatically.
- conaclos 4y agoMoreover in a ESM, this could lead to an error whether base is not defined.