Prakhar JaiswalJS Shorts — CurryingCurrying is a way of transforming a function callable as f(a, b, c) to a function which is callable as f(a)(b)(c).Dec 19, 2020Dec 19, 2020
Prakhar JaiswalJS Shorts — Prototypal InheritanceThe way of extending the common properties from one object to another though their prototype property is called prototypal inheritance.Dec 9, 2020Dec 9, 2020
Prakhar JaiswalJS Shorts — Immediately Invoked Function Expression (IIFE)Immediately Invoked Function Expression (IIFE) is a function expression that runs as soon as it’s defined.Dec 1, 2020Dec 1, 2020
Prakhar JaiswalJS Shorts — Event DelegationEvent delegation is a technique of adding a single event listener on a parent element instead of adding a separate one on each of the child…Nov 28, 2020Nov 28, 2020
Prakhar JaiswalJS Shorts — Call and ApplyThe call and apply are both used to call a function using a desired this value and a set of parameters.Nov 22, 2020Nov 22, 2020
Prakhar JaiswalJS Shorts — this|warning: this shorts might not be that short :DNov 15, 2020Nov 15, 2020
Prakhar JaiswalJS Shorts — BindThe bind() method creates a new function that, when called, has its this keyword set to the provided value followed by the arguments of…Nov 14, 2020Nov 14, 2020
Prakhar JaiswalJS Shorts — ClosuresAny function which uses a variable outside of it’s functional block within its lexical scope is an example of a Closure.Nov 1, 2020Nov 1, 2020
Prakhar JaiswalJS Shorts — HoistingHoisting, in layman terms is a way of moving the variable and function declarations to the top of the code block.Oct 17, 2020Oct 17, 2020