Wednesday, 1 January 2020

useful javascript functions

1. spread operator ...

2. for ... of iterator

3. includes()

4. some()     //if some element in array pass the test

5. every()    //if every element in array pass the test

6. filter()     //filter the array that pass the test

7. map()     //convert the array

8. reduce()    //reduce to array, number, object

9. find()

ref
1. 7-javascript-methods-that-will-boost-your-skills
2. Most Useful JavaScript Array Functions
3. most-useful-javascript-methods

No comments:

Post a Comment