Multiple choice technology architecture

Inner Functions allowed in JavaScript?

  1. True

  2. False

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

JavaScript does allow inner (nested) functions - functions can be defined inside other functions. This is a fundamental feature that enables closures, where inner functions retain access to variables in their outer function's scope even after the outer function returns.