2 ms·
Browsers lag so hard behind the ES standard that most developers are using shims provided within Babel or Typescript to use the features early. Normally you spe
by tmpz22 7y ago
Browsers lag so hard behind the ES standard that most developers are using shims provided within Babel or Typescript to use the features early. Normally you specify whatever ESNext features your using in your tsconfig, webpackconfig, babelrc, etc.
I'm not sure if the implementations are always formalized such as the shim you use is identical to whatever implementation that major browsers end up going with.
Ultimately you just end up bloating your bundle because you need added code in your shims for backwards compatibility of these advanced features.