3 ms·
Sorry dumb question. How can bootstrap safely use ES6? Isn't there limited compatibility? Are they using some kind of tool to allow it, or are they only using i
by julianozen 11y ago
Sorry dumb question. How can bootstrap safely use ES6? Isn't there limited compatibility? Are they using some kind of tool to allow it, or are they only using it for new browsers, and falling back to ES5 if they have to?
- McGlockenshire 11y agoThey're probably using a preprocessor like Babel[1] or something like es6-shim[2] 1: https://babeljs.io/ https://babeljs.io/ 2: https://github.com/paulmillr/es6-shim/ https://github.com/paulmillr/es6-shim/