- 1️⃣ What is the difference between var, let, and const?
var can change both assigned value and assinged variable name, let can only change the assigned value, not the variable name, and const assigned value can't be change , nor the assigned variable name
- 2️⃣ What is the spread operator (...)?
spread operator allows arrays, strings, or objects to be expanded into individual elements or properties, commonly used for, copying, merging and passign arrays or objects
- 3️⃣ What is the difference between map(), filter(), and forEach()?
map() transforms each element into a new array, filter() selects elements into a new array based on a condition, and forEach() iterates over elements to perform an action without returning a new array
- 4️⃣ What is an arrow function?
An arrow function is a compact, anonymous function syntax introduced in ES6 that uses a => to define functions
- 5️⃣ What are template literals?
Template literals are a modern JavaScript feature that provide a more flexible and readable way to work with strings compared to traditional way. we can make template literals using backtick ``
hasibzero/IssueTracker
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|