23 posts

JavaScript

JavaScript ES6 – Array includes method

The JavaScript includes() method determines whether an array includes a certain value, If array contains it returns true and if doesn't it will return false.

Updated: Aug 11, 2022 2 mins read

JavaScript ES6 – Array concat method

The JavaScript array concat() method is used to merge two or more arrays. This method does not change the existing arrays, but instead returns a new array.

Updated: Aug 11, 2022 2 mins read

JavaScript ES6 – Array sort method

The JavaScript sort method sorts the elements of an array and returns the sorted array. The default sort order is ascending, but you can also sort array in descending order.

Updated: Aug 11, 2022 2 mins read

JavaScript ES6 – Array find method

JavaScript array find method searches an array and returns the first matching element found, or it will return undefined if no match is found.

Updated: Aug 11, 2022 2 mins read