SOURCE

a=[1,2,3];
a.forEach(function(item,index,array){
    console.log(item);
}
)
b=[a,a];
console.table(b);
console.log(b);
c=[];
c.push(12);
console.log(c);
//positions = new Float32Array();
//positions.push(12.0);

//console.log(allpt);
            const pt1 = [10,10,10];
            const pt2=[10,20,10];
            const pt3=[5,10,20];
            var positions = new Float32Array();
            allpt=[pt1,pt2,pt3]
            mgpts=[]
            allpt.forEach(element => {
                element.forEach(function(item){
                    mgpts.push(item)
                }
                )
                
            })
console.log(mgpts);
i=0
const points = [];
points.push(new THREE.Vector3(-10 * i, 0, 0));
points.push(new THREE.Vector3(0, 10 * i, 0));
points.push(new THREE.Vector3(10 * i, 0, 0));
console 命令行工具 X clear

                    
>
console