79668649

Date: 2025-06-17 07:46:47
Score: 1.5
Natty:
Report link

These may help in future,

This uses the logical OR operator with assignment to accomplish the same thing in one line. If calls[ev] exists and is truthy, it assigns that value to list. If it doesn't exist or is falsy, it creates a new empty object, assigns it to calls[ev], and then assigns that same object to list.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Manoj Mx