Answer : var => var is a function-scoped variable that is hoisted, so it can be used before declaration and its value going to be undefined.
Answer : let => let is block-scoped and hoisted but cannot be accessed before declaration because of the Temporal Dead Zone
Answer : const => const is block-scoped, hoisted but cannot be accessed before declaration Temporal Dead Zone, and its value cannot be reassigned after initialization
Answer : The spread operator (...) is used to spread or copy values from one array or object into another arrat or object.
Answer : map() => map() is a function thar use to runs a function on each item of an array and returns a new array without changing the original array
Answer : filter => filter() runs a test on each element of an array and returns a new array with only the elements that pass the the logic
Answer : forEach() => forEach() is used to perform actions on each element of an array but does not return anything
Answer : An arrow function is a shorter way to write a function in JavaScript using => arrow without the function keyword
Answer : Template literals are a way to write strings in JavaScript using backticks (`) it allow us to put variables directly inside the string using ${} dollar symbol and curly braces