Java Array Within Array Javascript Methods Mdn