Profile Picture
IT Made Easy
The site provides some rough IT Notes that make your life easier. The site currently has notes on HTML, CSS, Regex, OOPS, JS, JQuery, PHP, Java, ASP.NET, C#, Database, Linux, URL Rewrite, SEO, Project Management and Hosting. Please do share this site if you like.

Call Back Functions

Next
Next
  • Syntax: callback functions   (element, index, and array.)
  • the filter method ensures that elements are not added to any element unless they pass certain criteria
  • The forEach method takes a function that's then processed against each element
  • The every method runs the callback function against every element in the array until one returns a false value.
  • The map method runs the callback function against all the array elements and creates a new array from the results
  • The some method is the opposite of every, in that it runs the callback function against every element until one returns a true value.

IT Notes

by VinodSebastian



IT Downloads


Catalogue