79377838

Date: 2025-01-22 13:20:20
Score: 1
Natty:
Report link

Now you can also use an arrow function:

document.getElementById('buttonLED' + id).onclick = () => { writeLED (1, 1); }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rodrigo