10 lines
112 B
JavaScript

(function() {
let foo = 'bar';
[true].forEach(function() {
foo = 'baz';
});
console.log(foo);
});