Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Amit Gujarathi
Giga Sage
Hi All , In this video, we will look into Functional programming use in ServiceNow i.e. How we can use JavaScript functional programming in ServiceNow. In this video, we will look into the JavaScript Filter method and how we can use in ServiceNow. So let's first understand what is a higher-order function is in javascript is. Higher-Order Functions In Javascript, functions can be assigned to variables in the same way that strings or arrays can. They can be pasted into other functions as parameters or returned from them as well. A “higher-order function” is a function that accepts functions as parameters and/or returns a function. Array Method .filter() The .filter() method executes a callback function on each element in an array. The callback function for each of the elements must return either true or false. The returned array is a new array with any elements for which the callback function returns true. Please like, follow subscribe to my channel if you find it helpful. Regards, Amit Gujarathi
1 Comment