Hang on...
Working with lodash: _.keyBy()
In this lab, you will learn how to use the '.keyBy()' function from the lodash library to group an array of objects based on a specified key. You'll first import the lodash library and then create a function called 'groupedArray' that utilizes '.keyBy()' to return the grouped results. Finally, you'll export the function using ESM syntax.
Adding your container request
Getting your dedicated container
Connecting to your container
Setting up your editor
Finalizing your playground
TerminalEditorBrowser