Skip to content

Instantly share code, notes, and snippets.

View lll000111's full-sized avatar
🏠
Working from home

KittenWithHerbs lll000111

🏠
Working from home
View GitHub Profile
@lll000111
lll000111 / AsyncStackTraces
Last active July 6, 2019 20:55
function version 1 creates a full async stack trace, version 2 does not
// ====================================================================
// CODE FOR issue https://bugs.chromium.org/p/v8/issues/detail?id=9443
// ====================================================================
const fs = require('fs');
const readFile = fs.promises.readFile;
/*
#### RESULTS ####