Last active
July 19, 2018 13:27
-
-
Save clucasalcantara/f9d304f4ce7fc2d7139a28d6a80fc23c to your computer and use it in GitHub Desktop.
common-js
This file contains hidden or 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
module.exports = { | |
lets: () => {}, | |
make: () => {}, | |
some: () => {}, | |
magic: () => {} | |
} | |
// output | |
const x = require('./your_module') | |
console.log(x) | |
/* | |
* { | |
* lets: [Function: lets], | |
* make: [Function: make], | |
* some: [Function: some], | |
* magic: [Function: magic] | |
* } | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment