Open Miguelcldn opened 8 years ago
Given a function:
func(param) { //code }
If it's made to be called as a callback (like an onClick function), change it to:
onClick
func = (param) => { //code }
In order to keep its original this reference.
this
┆Issue is synchronized with this Asana task
Given a function:
If it's made to be called as a callback (like an
onClick
function), change it to:In order to keep its original
this
reference.┆Issue is synchronized with this Asana task