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

Which expression is a valid BigInt literal representing the integer forty-two?

  1. BigInt.42
  2. 42.0n
  3. 42nՃիշտ պատասխան
  4. n42

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

The n suffix marks an integer literal as a BigInt, making 42n valid. A decimal fraction with that suffix is invalid because BigInt represents integers rather than fractional numeric values.

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

Սկսել վարժանքը
Հարց 8: Which expression is a valid BigInt literal representing the… · JavaScript Fundamentals · Questena