Create Subarray From Array Javascript Mdn Dom Manipulation W3schools