Array Within Array Javascript Mdn Math