while copying or cloning an array · What is the spread operator anyway? In JavaScript the syntax of the spread operator is three consecutive dots (...)...