Lab49 Interview Question

[1,2,3].foreach((i, v) => { let temp = i; }); console.log(temp)

Interview Answer

Anonymous

Oct 30, 2018

"error", as the let variable in local function scoped