nested array in on array code example Example: javascript nested array //2-dimensional(nested) array var array = [[0,2,3,7,2,2,1],[1,2,6,3,7,0,3]]