When single task can be done by multiple groups/family of objects and decision is taken at the runtime.
Wednesday, March 12, 2025
Subscribe to:
Posts (Atom)
Clean code chapter 3(Robert C.martin)
Summary: -------- 1. Functions should hardly ever be 20 lines long. 2.Keep blocks (inside if, else, while, for, etc.) short. Ideally, j...
-
If any event fired on a DOM element it will also fired on all of its parent element which is called the event bubbling. So, the element eve...
-
N.B- we can iterate an array using foreach and map in javascript like below- var arrays = [1,2,3,4,5]; //foreach arrays.forEach(function(cu...
-
slice()- returns a shallow copy of a portion of given array . ex: var a=['j','u','r','g','e','n...