ES6

REST and SPREAD Operators

REST and SPREAD operators are two distinct features of ES6 that were introduced to make working with arrays and objects more convenient. Rest Operator The REST operator is used in function parameters to capture multiple function arguments into a single array. It...

read more