79194905

Date: 2024-11-16 10:10:35
Score: 0.5
Natty:
Report link

Could be a scope problem here. The 'this' can be bind, but I think when you try it with an arrow function it can resolve the issue.

webservice_returnResult('api/sample/GetById', Id).done((result) => {
    Name = result.Name;
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: arvie