Array Based Leetcode Problems Javascript Documentation Mdn