Javascript Challenges

Scope;

Snippet 1

(function test() { test = 123; console.log( test );}())

Exercise

Correct!
False!

What it's logged when Snippet 1 is executed?

Exercise

Correct!
False!

Why?