Question 1
Which of the following statements about JavaScript scope is/are correct in the browser?
is function-scoped
and are block-scoped
Variables declared with are hoisted and initialized with
variables can be declared without initialization
Global variables are always attached to window (as a property)