4 ms·
Functions can accept/return multiple values though? // In typescript const [a, b, c] = foo(d, e, f) You could even pass this to itself foo(…foo(d, e, f)) Al
by asimpletune 1y ago
Functions can accept/return multiple values though?
// In typescript
const [a, b, c] = foo(d, e, f)
You could even pass this to itself
foo(…foo(d, e, f))
Also one definition of a function is a map from a domain to a range. There’s nothing that forbids multiple values, or is there?