Array | JavaScript

An array is an object that can store multiple values at once.
Each item in an array has a number attached to it, called a numeric index, that allows you to access elements of array. In JavaScript, arrays start at index zero .
For example,

var greeting = ['welcome','to','edyoda'];

const edyodaCourse = ['full Stack Development','React Development','Data Science'];

let ta_edyoda = ["Ganesh","Darshini","Rajesh","Namrata","Akash"];

Generally, there are three different kinds of arrays:

  • Indexed arrays,
  • Multidimensional arrays,
  • Associative arrays

Ganesh Patil / ta-edyoda

2 Likes