Created
July 24, 2018 15:09
-
-
Save igoroctaviano/04621abcf5cf77e80dad1e1c0153c3a6 to your computer and use it in GitHub Desktop.
A Web History
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// request dependency: | |
let a = require ('a.js'); // Node.js modules | |
import a from 'a.js'; // ES modules | |
// ... your code here ... | |
// a way to turn the things visible outside the module: | |
module.exports = something; // Node.js | |
export something; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment