ES6使用export和import实现模块化的方法 在ES6前,前端就使用RequireJS或者seaJS实现模块化,requireJS是基于AMD规范的模块化库, 而 export和import模块化