Challenge set
JavaScript Objects
Practice JavaScript objects through six focused Challenges covering property access, immutable updates, nested data, merging, and reporting.
Work through the collection
Challenges in This Set
- 01
JavaScript
Player Profile
Create a JavaScript player object with three properties, then read its name and level to print a clear profile summary in the Output panel.
50XPBeginner - 02
JavaScript
Update the Scoreboard
Update an existing JavaScript scoreboard object by changing its score, adding a winner status, and printing the completed object.
50XPBeginner - 03
JavaScript
Product Label
Build a JavaScript function that accepts a product object and returns a formatted label using its name and price properties.
50XPBeginner - 04
JavaScript
Shipping Address
Work with a nested JavaScript customer object by updating its city and printing a complete shipping address from nested properties.
50XPBeginner - 05
JavaScript
Merge Settings
Merge default and user JavaScript settings with object spread syntax, preserve both original objects, and return the combined settings.
50XPBeginner - 06
JavaScript
Inventory Report
Calculate total inventory value in JavaScript by looping through product objects, multiplying price by quantity, and returning the total.
50XPBeginner

