Showing posts with the label function-advanced

Closure - 09

A closure gives you access to an outer function’s scope from an inner function. To use a closure, d…

Constructor function - 08

Constructors are functions that create new objects. They define properties and behaviors that will …

recursion - 06

Recursion must have a base case where the base case is defined with an if statement. Base case mean…

function composition - 05

Function composition :  Function composition is a mechanism by which we can combine multiple functi…

Higher Order Function - 04

Function as data: A function is a first-class object. Since objects have methods and properties, th…

currying function - 03

Currying is a pattern that is used to transform a function containing multiple parameters into a fu…

Arrow Function - 02

Arrow Function:  removes the use of function keyword, includes parameters inside parentheses then a…

function expression - 01

Function expression  Defining a function in an expression is called function expression. Function e…

Load More That is All