Shrinksafe
Posted: 18 May 2020, 13:58
Hi!
Is there any good reason to use an old version of shrinksafe which is based on Ecmascript 3 (1999) instead of using some more recent js compressor which support eg Ecmascript 6 ? I get that the most recent techno might be still unstable but Ecmascript 6 is standard for 5 years already.
In particular, I found the arrow functions with automatic scope binding from Ecmascript 6 really useful (no more "var _this = this;" anytime you need anonymous functions... ) Fortunately, Babeljs allow me to convert back to Ecmascript 5 which seems to work also with Ecmascript 3, but I was still wondering about this particular choice of js compressor.
Is there any good reason to use an old version of shrinksafe which is based on Ecmascript 3 (1999) instead of using some more recent js compressor which support eg Ecmascript 6 ? I get that the most recent techno might be still unstable but Ecmascript 6 is standard for 5 years already.
In particular, I found the arrow functions with automatic scope binding from Ecmascript 6 really useful (no more "var _this = this;" anytime you need anonymous functions... ) Fortunately, Babeljs allow me to convert back to Ecmascript 5 which seems to work also with Ecmascript 3, but I was still wondering about this particular choice of js compressor.