Task: Map Key/Value Pairs of a JavaScript Object
Task: Map Key/Value Pairs of a JavaScript Object: a task in Terminal-Lego-15k (Harbor dataset). In JavaScript, plain objects (often used as dictionaries/maps) do not have a built-in .map() method like arrays do. Your task is to write a JavaScript solution that transforms an object's key/value…
The task
In JavaScript, plain objects (often used as dictionaries/maps) do not have a built-in `.map()` method like arrays do. Your task is to write a JavaScript solution that transforms an object's key/value pairs into an array of formatted strings.
Part of PrimeIntellect/Terminal-Lego-15k.