You'd have to do some tests...
It'd be close...
this
_
But funWithLocalVariable would probably minify much better.
funWithLocalVariable
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
You'd have to do some tests...
It'd be close...
this
is a reserved word, so accesses will be faster as there's no lookup._
is short, and a local variable, so parsing will be faster and lookups shouldn't be that slow either.But
funWithLocalVariable
would probably minify much better.