Spread Operator in JavaScript

Easy
72
3
64.9% Acceptance

In this lab, you will learn and practice the spread operator in JavaScript. The spread operator (...) can be used to expand elements of an iterable object, like arrays or objects. The spread operator can be helpful in various scenarios, such as finding the maximum value in an array, merging arrays or objects, or cloning an object. In this lab, you will implement four different functions using the spread operator to perform these tasks.

NOTE: Make sure you're exporting all the functions for the tests to run against the code