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

The variable count holds the number 3. What error type results from evaluating count()?

  1. ReferenceError
  2. TypeErrorՃիշտ պատասխան
  3. SyntaxError
  4. No error; the call returns 3

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

A Number value is not callable, so attempting to invoke count throws a TypeError. The name itself resolves successfully, which rules out an unresolved-name failure; the problem is the value's inability to be called.

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

Սկսել վարժանքը
Հարց 110: The variable count holds the number 3. What error type… · JavaScript Fundamentals · Questena