Closed mindplay-dk closed 4 years ago
Not really 😉
This _reserved
argument is the third to the map
callback. It will be populated with the reference of the array. This means that it will have a value, and the initialisation trick won't work. (Check MDN for more details)
I tried using this variable as a temporary storage, but apparently it ended up increasing the compressed result.
Ah, so this is just a throw-away variable so you can abuse the unused arguments as a shorthand to define variables, gotcha 😉
Looks like there's an unused variable
_reserved
inrender()
.I think you can scrap that and save 2 bytes?
Not sure,
terser
might be detecting it and removing it already, but it's unused either way.