2 ms·
> Only thing useful I can come up is monkey patching without changing the function signature. E.g. smuggling additional data to a function which expects a strin
by mgerullis 5y ago
> Only thing useful I can come up is monkey patching without changing the function signature. E.g. smuggling additional data to a function which expects a string like thing.
Yeah this sounds terrifying to me, if I were to debug something like this.
Also the fact they identify as objects:
typeof new String("Foo") === 'object';
Case closed, I will never use it :D