make array of array in node js code example Example: declare an array nodejs var arr1 = new Array(); var arr2 = [];