3 ms·
Your code sort of have the same issue. Why not define a function: function someName(p1, p2) {} and then when you need it for something, like a handler, just s
by mrweasel 7y ago
Your code sort of have the same issue. Why not define a function:
function someName(p1, p2) {}
and then when you need it for something, like a handler, just say:
handler: someName
- akamaozu 7y agoHoped to show that JavaScript can be easier to read than you described. Obviously wrong. My mistake.