This example processes an array of inputs inside a page script. The page only shows the results after the entire array has been processed, and the page becomes unresponsive while processing since everything runs on the main thread.