Leetcode Easy Question Of Array Initialization In Javascript