Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async function bottom() {
- console.log('in bottom');
- const stack = new Error().stack;
- console.log('stack:', '<<<' + stack + '>>>');
- console.log(typeof stack);
- console.trace('stack trace');
- }
- async function middle() {
- await bottom();
- }
- async function topmost() {
- await middle();
- }
- topmost();
Add Comment
Please, Sign In to add comment