The comments -and the lack of comments- are copy-pasted from https://github.com/stacktracejs/stacktrace.js, the URL I reference at the beginning of the file.