var, let, and const are used to declare variables in JavaScript, but they differ in scope and mutability. var is function-scoped and can be redeclared and reassigned, whereas let and const are block-scoped. let allows reassignment, const cannot be redeclared or reassigned.
The spread operator (...) is used to expand arrays or objects. It allows merging multiple arrays or objects, creating shallow copies that can be modified without affecting the original.
map(), filter(), and forEach() are array iteration methods with different purposes. map() transforms each element and returns a new array, filter() selects elements that meet a condition and returns a new array, while forEach() executes a function on each element but does not return anything.
An arrow function is a concise way to write functions in JavaScript. It has a shorter syntax compared to traditional function expressions.
Template literals are string literals enclosed in backticks (`) that allow multi-line strings and embedding expressions using ${}.