Array Methods in JavaScript
Array
An array is a single variable, which holds more than one value. A pair of square brackets [ ] can be used to symbolize an array in JavaScript.
Syntax
const array_name = [Item1,Item2,Item3,....];
Example
const fruit = ['apple','mango','grapes',...
khushichauhan425.hashnode.dev4 min read