Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

CommonJS vs ES6

/*informally summary*/
module.exports +require() is CommonJS
export + import is ES6 
These are just ways to write JavaScript modules(or "a bunch of JavaScript code")
 
PREVIOUS NEXT
Tagged: #CommonJS
ADD COMMENT
Topic
Name
5+8 =