ENع
الدرس 02 · Basics

Values and types

لم يُترجم بعد؛ يُعرض باللغة الإنجليزية

Every value in JavaScript has a type: a number, a string of text, a boolean and five more. Follow one variable through a ten-line script as it holds 42, then "42", then true, and watch typeof report each type, + join text instead of adding, and Number() convert a string back into a number.

9 دقيقة10 خطوات5 أسئلةBeginner
شكل 2 · تفاعلي
جارٍ تحميل الرسم…
أو ← →

اختبار يتاح بعد الخطوة الأخيرة.