3 Ways to Create Arrays in JavaScript and Array fill() method
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...
junaidshaikh.hashnode.dev3 min read
Amro abd elhafeez
javascript
is string array are mutable