What is the difference between a timeout and an interval in Javascript?
setTimeout( ) Method The setTimeout() method sets a timer which executes a function or specified piece of code once after […]
We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!
Learn from Guru Rajesh Kumar and double your salary in just one year.
setTimeout( ) Method The setTimeout() method sets a timer which executes a function or specified piece of code once after […]
Constructor Object instance are created with constructor, which is basically a special function that prepares a new instance of an […]
Factory Function When a function returns an object, we call it a factory function. It can produce object instance without […]
Object Oriented Programming Object-oriented programming (OOP) is a programming language model organized around objects rather than “actions” and data rather […]
An arrow function expression (previously, and now incorrectly known as fat arrow function) has a shorter syntax compared to function […]
Default Parameter Syntax: –function function_name (para1, para2=“value”, para3) // problem undefined{Block of statement;}Syntax: –function function_name (para1, para2=“value1”, para3=“value2”){Block of statement;} […]
Function Function are subprograms which are used to compute a value or perform a task. Type of Function – Library […]
What is Function with Parameters or Arguments? The information or variables included within the function’s parentheses are referred to as […]
A parameter is an entity that stores values. It can be a name, a number or some special characters. Bash […]