Applications of JavaScript Spread and Rest Operators
To create a copy of Array We can create the same copy of the array object with the spread operator with the syntax [...(ARRAY_VARIABLE)] This is the output of the above code Both oddArray and copyOfOddArray variables holding the same array of valu...

