Multiple choice technology programming languages

Javascript does not distinguish between name of a function and a variable

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

JavaScript distinguishes between variables and functions in terms of execution context and type. While they share the same scope namespace and can overwrite one another, they are hoisted differently, and the typeof operator uniquely distinguishes a 'function' from other types.