14 lines
193 B
JavaScript
14 lines
193 B
JavaScript
'use strict';
|
|
|
|
const list = [];
|
|
while (true) {
|
|
const record = new MyRecord();
|
|
list.push(record);
|
|
}
|
|
|
|
function MyRecord() {
|
|
this.name = 'foo';
|
|
this.id = 128;
|
|
this.account = 98454324;
|
|
}
|