Repair the Inventory

Repair a JavaScript inventory with splice() by replacing one unavailable item with two new supplies, then report what was removed and the final list.

JavaScript

Challenge overview

Format
Logic Puzzle
Category
JavaScript
Difficulty
Beginner
javascriptarrayssplicemutation

Keep practicing

More coding challenges