ENع
الدرس 10 · Working with data

Strings and template literals

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

A string is text: a row of characters in order, each at an index that starts at 0. Follow a seven-line script as it stores "Ada", reads one character, counts the characters, builds an upper-case copy while the original stays the same, and makes the sentence "Ada has 3 letters" twice: once by gluing pieces with + and once with a template literal.

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

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