Block Scope. "let" and "const" are BLOCK scoped. "var" is FUNCTION scope. { let firstName="ABC"; console.log(firstName); } //here let can only...
Functions in javascript. Functions are used to execute any task that repeats itself. //Declare Function function singHppyB(){ console.log("Happy...
Object destructuring is an approach to access an object's properties. We use object destructuring because it dries our code by removing...
Dot vs Bracket Operator. const people = { name: "J", age: 20, "people hobbies": ["guitar", "sleeping", "dancing", "music"] } //Dot...
Multiple Selectors: Combining all the selectors under one branch, so that it gets easy to style them. If it has to share the same features between two...