Untitled
unknown
plain_text
8 days ago
319 B
5
Indexable
function sum() { let b = 0; return function (a) { b = b + a; return b; }; } const sumA = sum(); const sumB = sum(); // let memorySUMB; // function sumB (a) { // b = b + a; // return b; // }; //let memoryB; // function sumA (a) { // b = b + a; // return b; // };
Editor is loading...
Leave a Comment