Software Maker: 70% of my body is made of computers.
function(){}
and
()=>{}
where the latter essentially passes down the `this` in the current scope as an invisible parameter. This prevents `this` from changing, which it apparently does with the former, when called from elsewhere. Good times.
function(){}
and
()=>{}
where the latter essentially passes down the `this` in the current scope as an invisible parameter. This prevents `this` from changing, which it apparently does with the former, when called from elsewhere. Good times.