Why we got undefined instead of Anwar?
In Javascript, all variable declarations are hoisted (lifted and declared) to the top
of the function, if defined in a function, or the top of the global
context, if outside a function.

Note: Only variable declarations are hoisted to the top, not variable initialization or assignments