EExcel 丞燕快速查詢2

EExcel 丞燕快速查詢2
EExcel 丞燕快速查詢2 https://sandk.ffbizs.com/

call by value call by reference object array push

Problem: 
array A   
A.push(item) 
item is object  from for or map or foreach....etc

show A  all add item is same.......


Solve:

var txxxxx = []  // xxxx is any word

=====loop start=====
txxxx[index] = item  //index is from for or map or foreach...etc

ot = {
   xxxx: txxxx[index]
}

A.push(ot)
=====loop end=====