Created
May 23, 2018 05:07
-
-
Save KSXGitHub/0159b198d52f4a416ca00bb2bee60995 to your computer and use it in GitHub Desktop.
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
const foo = require('./foo') | |
module.exports = () => foo() |
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
module.exports = () => { | |
const error = new Error('WARNING!!') | |
console.log(error.stack) | |
} |
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
const bar = require('./bar') | |
bar() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment