Blame view

node_modules/callsites/index.js 233 Bytes
ce4c83ff   wxy   初始提交
1
2
3
4
5
6
7
8
  'use strict';
  module.exports = function () {
  	var _ = Error.prepareStackTrace;
  	Error.prepareStackTrace = function (_, stack) { return stack };
  	var stack = new Error().stack.slice(1);
  	Error.prepareStackTrace = _;
  	return stack;
  };