Multiple ChoiceIntermediate 30s
Global Scope
Choose the best answer for: global variables
Options
- 1Global variables declared with var are block-scoped, not global
- 2Global is the same as window in every JavaScript environment
- 3Variables declared without let/const/var become global (in non-strict)
- 4Globals must be accessed with an explicit window. prefix always
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.