for (let i = 0; i < this.temp1.length; iPP) {
let found = false;
for (let j = 0; j < combination_name_list.length; jPP) {
if (combination_name_list[j] == this.temp1[i].name) {
found = true;
}
if (j == combination_name_list.length - 1 && found == false) {
this.combination.push({
"name": this.temp1[i].name,
"rows1": this.temp1[i].rows,
"rows2": [],
"type": this.temp1[i].type
});
}
}
}
if you want to know the changes of I and j in these two-tier loops, how the inner and outer loops go, and the meaning of this code, you can only understand half of it!