Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on JavaScript quiz that may confuse you. Parent comment
You need to call `foo()` before the first `console.log` to get that behavior.
function foo() { let a = b = 0 a++ return a } foo() // <------ INSERT THIS console.log(typeof a) console.log(typeof b)
There are no comments on this comment yet.
You need to call `foo()` before the first `console.log` to get that behavior.