Reference
Functions
Functions are first-class values used for reusable logic and composition. Example let sum = fn(n1, n2) { return n1 + n2; }; sum(10, 20); Notes Any change in closure capture or stack handling should trigger a review of this page and the runtime reference.
Functions are first-class values used for reusable logic and composition.
Example
let sum = fn(n1, n2) {
return n1 + n2;
};
sum(10, 20);
Notes
Any change in closure capture or stack handling should trigger a review of this page and the runtime reference.