Quantum Gate Interview Question

Spread operator (…) usage in react.js