Search posts, tags, users, and pages
Junaid Shaikh
Frontend Developer
The array is a linear data structure and used to store multiple values in a single variable at a time. Today, we will look at three ways to create an array in JavaScript and the array fill() method. So, let's get started. The basic way The simples...
Amro abd elhafeez
javascript
is string array are mutable
Hi Amro, Did you mean array made from string characters?
Like this?
const name = 'junaid'
const nameLetters = Array.from(name)
console.log(nameLetters) // [ 'j', 'u', 'n', 'a', 'i', 'd' ]
Mohit Rakhade
Nicely explained ✨
Amro abd elhafeez
javascript
is string array are mutable