megaguy3579/disaster-relief-resource-manager ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple beginner friendly JavaScript project for the browser console that simulates a rescue team managing emergency relief supplies after a flood.

I want it to start with a basic inventory of supplies, then show steps for adding, removing, replacing, and searching items in that list. Please include a priority list, a backup copy of the inventory, a way to inspect each item one by one, and a function that counts the total supplies. Also show whether medicine is in the inventory, and make sure the backup stays unchanged if the main list gets edited.

Keep it focused on core JavaScript practice, using arrays, loops, conditionals, and a couple of arrow functions. It should be easy to run from an HTML page and print everything clearly in the browser console. If you need to check current syntax or browser behavior, look up the latest docs online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab