Re:_hyperscript: A jQuery and JavaScript Alternative
by deniz-a on Thursday April 22, 2021 @05:54AM
(#26900783)
Arrow functions have the same `this` as the scope where they are declared (in this case, an onclick attribute). Both would work in this case.
[ Parent
| on HN ]
There are no comments on this comment yet.