es2015

ES6 Import & Export – A beginners guide

Importing and exporting modules is a big part of Javascript. Before ES6, importing modules could be included into a script by using the  require() function.  ES6 introduced the import and export keywords which brings Javascript more in line with programming languages like Java and Ruby. Basic Import To import a…