title: What does the es5 environment created by babel-polyfill do?
body: <p>From the docs it says babel-polyfill creates a es5 environment, but what does an environment do exactly? Does this have anything to do with how import and exporting works? My understanding is that import and exporting modules is part of es6 so it's not native to browsers, thus babel-polyfill transcompiles that some feature of es5 that does importing and exporting.</p>