Destructuring Assignment Lab

Easy
2
62.5% Acceptance

In this lab, you will practice using the JavaScript destructuring assignment to assign values from the coordinates object. You will then log the values of x, y, and z separately using console.log(). Furthermore, you will also use named exports to export x, y, and z values. Lastly, you will use the node-fetch package to interact with a REST API endpoint and log a specific property of the response.

codedamn labs are designed to give you a hands-on experience with the concept.