HF RL Explorer

Task: Iterate Over a JSON Array in JavaScript

Task: Iterate Over a JSON Array in JavaScript: a task in Terminal-Lego-15k (Harbor dataset). You are given a JSON file containing an array of objects. Your task is to write a JavaScript program that reads the JSON data, iterates over each object, and prints a formatted summary of the objects to…

The task

You are given a JSON file containing an array of objects. Your task is to write a JavaScript program that reads the JSON data, iterates over each object, and prints a formatted summary of the objects to standard output.

Part of PrimeIntellect/Terminal-Lego-15k.