There seems to be an issue with the way Chrome performs hoisting of JavaScript variables. As far as my understanding goes, when declaring functions as expressions, only the variable declaration gets hoisted to the top of the scope/context, but the definition remains to be interpreted at runtime.
Watch video Chrome dev tools function expression hoisting -- bug or feature online without registration, duration hours minute second in high quality. This video was added by user Adrian Oprea 30 January 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 11 once and liked it people.