So I am in the process of teaching myself data structures in javascript and am attempting [Leetcode 200][1]. I was wondering why if I have the grid array inside of a function li