Multiple choice technology architecture

Does JavaScript Function allow to return value ?

  1. True

  2. False

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

JavaScript functions absolutely can return values using the return statement. This is a fundamental feature - functions can compute and return results, return objects, return other functions (closures), or return undefined implicitly if no return statement is reached.