javascript check if member of multiple dimential array code example Example: js if array is 2d if (arr[0].constructor === Array) { /*...*/ }