1 2 3 4 5 6 7 8
module.exports = { getStack, } function getStack () { const stack = new Error('Stack trace generator - not an error').stack return stack }