Hang on...
Master Object.values() in JavaScript
In this lab, you will learn about the Object.values()
method in JavaScript. It takes an object as an argument and returns an array consisting of the object's values. Your task is to create a person
object and a function named personValues()
that will use the Object.values()
method to return an array of the person
object's values. Finally, export the person
object and the personValues()
function using ESM syntax and log the result of calling the function.
Adding your container request
Getting your dedicated container
Connecting to your container
Setting up your editor
Finalizing your playground
TerminalEditorBrowser