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

Which description best matches a JavaScript string primitive?

  1. An immutable sequence of UTF-16 code unitsپاسخ درست
  2. A mutable array of visible characters
  3. A sequence with one byte per character
  4. An object whose elements can be reassigned

توضیح

A JavaScript string is an immutable sequence of UTF-16 code units. Saying it is a sequence of visible characters is too strong because some displayed characters require multiple code units or multiple code points.

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

شروع تمرین
سؤال 25: Which description best matches a JavaScript string… · JavaScript Fundamentals · Questena