JavaScript Developer — Easy
Key points
- The square brackets indicate an array in JavaScript.
- Each character in the string is treated as a separate element in the array.
- The output is not a single string or an array with the entire string as an element.
Ready to go further?
Related questions
