core-js @ 3: What’s new in Babel 7.4?
For Babel 7.4, the implementation of core-js @ 3 changes the way to identify the polyfills needed for an environment. So far,
@babel/preset-env exclusively with
compat-table , but now this will be supplemented by the test suite from core-js @ 3. The Babel team expects this to increase the accuracy of polyfill selection.
ECMAScript innovations in Babel
In addition, the new Babel release supports the ECMAScript proposal for
a syntax for partially applying argument lists to a call expression. The proposal that that
? as a placeholder for arguments, is currently on Stage 1 in the ECMAScript process. Also for the support of Class Private Features there was another update in Babel. Now also static private methods are supported.
Regarding the compatibility of Babel to ECMAScript Nicolò Ribaudo
reported in the blog post to the latest Babel release that this version
passed 98.97 percent of the ECMAScript test suite.
createParenthesizedExpressions . More information about these and other improvements to Babel 7.4 can be found in the official blog for the compiler .