.shift js
let array = ["A", "B", "C"];
//Removes the first element of the array
array.shift();
//===========================
console.log(array);
//output =>
//["B", "C"]let monTableau2D = [
['Mark' , 'jeff' , 'Bill'] ,
['Zuckerberg' , 'Bezos' , 'Gates']
] ;
monTableau2D[0].shift() ;
console.log(monTableau2D) ;
Also in JavaScript:
- jqgrid aftershowform
- javascript picture delete after time
- redis nodejs
- what is download api javascript
- how to remove warnings in react js console
- get last item in array javascript
- break loop after time javascript
- js loop ul
- javascript array add
- how to get started with nodejs
- disable input jquery
- deploy react js heroku
- angular clone array without reference
- javascript add day to date
- javascript cors error
- jquery get each row in table
- get query param javascript
- js modulo not working
- node js catch any errors
- jquery multiple div click
- creating a nested loop of a chessboard in javascript
- how to add two attay into object in javascript
- send data from form to another page angular
- react image upload