Spread Operator
Spread means spreading or expanding. And the spread operator in JavaScript is denoted by three dots.
This spread operator has many different uses. Let's see them one by one.
Let's say we have two arrays and we want to merge them.
let array1 = [1, 2, ...
mongoose.hashnode.dev3 min read