// of 200,000 items is nothing that big in the grand scheme
// of things.
input2=Array.from({length:200000},(_,i)=>i)
// But alas, the naïve implementation ends up being
// too naïve.
arrayMax(input2)
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.