3 ms·
> Javascript manages without named parameters using anonymous objects, which is basically the same thing. It's not. Unless you have a strict typing on the func
by mekster 5y ago
> Javascript manages without named parameters using anonymous objects, which is basically the same thing.
It's not. Unless you have a strict typing on the function in TS, you can't know if you're typing the right member.
This is actually one of the thing in PHP I like more than TS.
It takes no effort to provide meaningful names to parameters from the caller.