QuestenaՎարժանք, որը ցույց է տալիս՝ ինչ կրկնել հաջորդիվ
Հարց 74

Which use is possible for the function value produced by a function expression?

  1. It can exist only as an immediately executed expression
  2. It can be assigned to a variable for a later callՃիշտ պատասխան
  3. It must always be anonymous
  4. It can be stored only as an object's string property

Բացատրություն

A function expression evaluates to a function value, so the program can assign that value to a variable or pass it elsewhere. The expression need not be anonymous, and merely creating the value does not force an immediate call.

Շարունակեք այս թեստով

Սկսել վարժանքը
Հարց 74: Which use is possible for the function value produced by a… · JavaScript Fundamentals · Questena