3 ms·
Strongly disagree there. If there was a crash at line 4, in the first example you would only see this: > results.append({categoryName: c.name, products: p, man
by ppeetteerr 7y ago
Strongly disagree there. If there was a crash at line 4, in the first example you would only see this:
> results.append({categoryName: c.name, products: p, manager: m.name})
In the second example you would see this:
> results.append({categoryName: internalProductCategory.name, products: products, manager: manager.name})
Do you know what the error would be? Probably that you're assigning the manager's name to a property called `manager` ;)