79157852

Date: 2024-11-05 06:15:55
Score: 1.5
Natty:
Report link

I am getting same problem when code is as per below:

e.name = this.getBedName(LocationPhysicalTypes.BED, bedNameOrder);

for this I resolved this issue by below code:

e = { ...e, name : this.getBedName(LocationPhysicalTypes.BED, bedNameOrder) };

And instead of forEach loop , I have used .map() function for that.

Reasons:
  • Whitelisted phrase (-2): I resolved
  • No code block (0.5):
  • Me too answer (2.5): I am getting same problem
  • Low reputation (0.5):
Posted by: Pankti Shah