Sample problems: objects and arrays
This example presents five JavaScript practice problems that manipulate arrays and objects, with output visible only in the developer console. The problems demonstrate tasks such as merging object properties between arrays, finding common items, sorting objects by a numeric property, and filtering numbers using the modulus operator. The code uses D3 v4’s `d3.range` to generate an array of integers, while array methods like `forEach` and `sort` handle the core logic. No SVG or visual rendering is involved, as the focus is purely on algorithmic thinking with plain data structures.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/scresawn/'>scresawn</a>'s block: <a href='http://bl.ocks.org/scresawn/ad5f8f49f1364e79ea5550b55f7933a5'>Sample problems: objects and arrays</a>