6 ms·
Golang has no equivalent to double-* since it doesn't do keyword arguments.
by ereyes01 8y ago
Golang has no equivalent to double-* since it doesn't do keyword arguments.
- masklinn 8y agoNeither does javascript, "keyword expansion" only occurs for object literals (which is why it's unambiguous: objects can't be created from sequences and don't implement the iteration protocol, so expansion within an object context can easily be special-cased).