if you look closer, you also have one object as listener, with 4 methods, instead of N x 3 functions per each .win-btn on the page ... it's both a RAM and a CPU win ;-)
Do you always prefer this syntax over normal syntax? Since you have a ton of experience in JS, I would like to know what more improvisations can be made 😬. Please give your feedback on part 3 also
if you look closer, you also have one object as listener, with 4 methods, instead of N x 3 functions per each
.win-btn
on the page ... it's both a RAM and a CPU win ;-)Do you always prefer this syntax over normal syntax? Since you have a ton of experience in JS, I would like to know what more improvisations can be made 😬. Please give your feedback on part 3 also
not sure this answers your question: webreflection.medium.com/dom-handl... 👋