JavaScript card revieweasy

What is the spread operator (...) in JavaScript?

The spread operator allows iterable elements such as arrays and objects to be expanded into individual elements. It is commonly used for copying arrays, merging objects, and passing arguments.

JB

Jeevan Bhargav

Audited by Creator

This answer is calibrated for technical interviews. Verify benchmarks in local sandboxes before deploying.