Spread vs Rest Operators in JavaScript
what does spread Operator does spread meas expand , it takes something like an array or object and spread its contents out individually const arr = [1, 2, 3]; console.log(...arr); output: 1 2 3 yo

Search for a command to run...
Articles tagged with #js
what does spread Operator does spread meas expand , it takes something like an array or object and spread its contents out individually const arr = [1, 2, 3]; console.log(...arr); output: 1 2 3 yo

What Destructing means pulling out a values out of arrays /object and storing them in variable in a shorter way for array without destructuring const arr = [10, 20, 30]; const a = arr[0]; const b = a

what is `this` this is just a reference ( a pointer) to the object that is calling a function people misconception that this refer to where the function is written this is dead wrong js does not care

welcome to the blog: why this even exist in language ? Problem: lets say you have funcrion function User(name) { this.name = name; } const u1 = User(`dushyant`); what do you expect expected - name: `

what do u understand by control flow - basically the order in which code runs , by default JS run code line by line , we want control on these thing . you dont need to gave that much time on this topi

variable A variable is a named reference to a value stored in memory. in simpler term we say A variable is a named box that stores a value so the program can use it later. Example: let name = "Dushyan
