#!/friends/bin/jscript const array1=[1,2,3,4,5,6] const array2=array1.x,a={console:{log(){console.log([1,1,1,2,2,3,3,3,4,4,5,5,5,6,6])}}}; console.log(array2)