News for hackers. Stuff that matters.
Re:ECMAScript 2018: final feature set by akvadrako on Saturday February 03, 2018 @11:15AM (#16298153)
Then you must prepare two bundles, one for new browsers and one for old. I suppose that's possible, but doesn't seem worth it.
Re:ECMAScript 2018: final feature set by styfle on Saturday February 03, 2018 @01:21PM (#16298747)
You can use <script type=module> to target newer browsers. It’s definitely worth having two bundles because the ES6 and newer is much smaller. And one day, you stop shipping the old ES5 bundle.
Re:ECMAScript 2018: final feature set by TomMarius on Saturday February 03, 2018 @02:06PM (#16298993)
It is worth it most of the time.