function fibonacci() { let a = 0; let b = 1; let c = 0; return function getNext() { [c, a, b] = [a, b, a +=b] return c; }; } <
function fibonacci() { let a = 0; let b = 1; let c = 0; return function getNext() { [c, a, b] = [a, b, a +=b] return c; }; }