Lodash Reverse Lab
Easy
0.0% Acceptance
In this lab, you'll explore the _.reverse()
method from the popular utility library Lodash. The _.reverse()
method reverses the order of elements in an array in-place (modifying the original array). Your task is to implement a reverseArray()
function that takes an array as an argument and reverses its elements using Lodash.
Make sure to install Lodash as a dependency and correctly import the _.reverse()
method in your code.
This lab aims to help you understand how to work with third-party libraries like Lodash and practice array manipulation.