Day 17 of #100daysofjs

There are some important array methods in JavaScript some of them are as follows:

  1. toString() - Converts an array to a string of comma-separated values

  2. join() - joins all the array elements using a separator

  3. pop() - removes the last element from the array

  4. push() - Adds new elements at the end of the array

  5. shift() - Removes first element and returns it

  6. unshift() - Adds elements to the beginning. Returns new array length

  7. delete - Array elements can be deleted using the delete operators

  8. concat() - Used to join array to the given array

Code