add day 1

This commit is contained in:
Zoe
2022-09-23 22:33:36 -05:00
commit 1c5d2a2e7e
322 changed files with 237131 additions and 0 deletions

8
day1/node_modules/resolve/lib/caller.js generated vendored Normal file
View File

@@ -0,0 +1,8 @@
module.exports = function () {
// see https://code.google.com/p/v8/wiki/JavaScriptStackTraceApi
var origPrepareStackTrace = Error.prepareStackTrace;
Error.prepareStackTrace = function (_, stack) { return stack; };
var stack = (new Error()).stack;
Error.prepareStackTrace = origPrepareStackTrace;
return stack[2].getFileName();
};