Back to Browse

Array methods explained.....How index works in javascript...

3 views
Sep 29, 2022
7:59

// Methods in array let array = [2,3,4,5] //length starts from 1 //index starts from 0 //push //pop //shift //unshift // array.push(6) // console.log(array) // array.pop() // console.log(array) // array.unshift(1) // console.log(array) // array.shift() // console.log(array) array[1] = 1000 console.log(array)

Download

1 formats

Video Formats

360pmp49.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Array methods explained.....How index works in javascript... | NatokHD