Questenaتمرینی که نشان می‌دهد بعد چه چیزی را مرور کنید
سؤال 3

What does the expression typeof null evaluate to?

  1. undefined
  2. null
  3. objectپاسخ درست
  4. number

توضیح

The typeof operator has a specified special case for null and produces the string object. Expecting null would seem intuitive from the value's primitive category, but that is not the operator's defined result.

ادامهٔ این آزمون

شروع تمرین
سؤال 3: What does the expression typeof null evaluate to? · JavaScript Fundamentals · Questena