Create Subarray From Array Javascript Mdn Dom Manipulation Interview