square brackets  to store element of different type. This types could be a string, number, boolean, object or even arrays itself.
mapmethod -> The
map()method returns a new array which is formed by calling a provided function onto the calling array. The map() method simply calls a function on every element of the array which it is called on. Below we have an example
filtermethod -> The
filter()method takes a function to test on each element on the array it has initially being called upon and returns a new array based on the element that pass the test. Below is a visual example
findmethod -> The
find()method returns the element that passes the testing function just like the example below. If no element passes the testing function, then
undefinedis returned by the code.
findIndexmethod -> The
findIndex()method works similar way with the
find()method but it returns the index of the value instead of the actual value itself that
find()method returns. Here is an example below showing a visual representation of the statement
fillmethod -> The
fill()method changes all the element in an array based on the start and end index provided. It takes between 2-3 parameters and return based on the specified parameters. Below is a picture justifying the statement above
somemethod -> The
some()method tests whether at least one element in the array passes the test implemented by the provided function. It returns true if, in the array, it finds an element for which the provided function returns true; otherwise it returns false.
everymethod -> The every() method test if all the element from an array pass or return true from the testing function. otherwise it returns false
push()– Insert an element at the end of the array.
unshift()– Insert an element at the beginning of the array.
pop()– Remove an element from the end of the array.
shift()– Remove an element from the beginning of the array.
slice()– Create a shallow copy of an array.
Array.isArray()– Determine if a value is an array.
length– Determine the size of an array.
Follow me on twitter for more web development tips @dev_abba