https://tutorial.eyehunts.com/js/get-first-10-elements-of-an-array-in-javascript-example-code/
Get first 10 elements of an array in JavaScript | Example code