JavaScript Nested objects and arrays in objects
Some objects can contain other objects as properties. For example, there is a country object that ca...
JavaScript Objects
Object-oriented programming is one of the dominant paradigms in application development today, and i...
JavaScript Arrow functions
Arrow functions allow you to shorten the definition of regular functions. Arrow functions are formed...
Passing parameters by value and by reference
Passing parameters by value Strings, numbers, and booleans are passed to the function by value. In o...
Hoisting
Hoisting represents the process of accessing variables before they are defined. This concept may sou...
JavaScript Redefining Functions
Functions have the ability to override behavior. Overriding occurs by assigning an anonymous functio...
JavaScript Recursive functions
Among the functions, recursive functions can be distinguished separately. Their essence is that the ...
JavaScript Pattern Module
The “Module” pattern is based on closures and consists of two components: an outer funct...
JavaScript Closures and IIFE Functions
Closures A closure is a construct where a function created in one scope remembers its lexical enviro...
JavaScript Variable scope
All variables and constants in JavaScript have a defined scope within which they can act. Global var...