code: function(cap) {
          cap = cap || arguments.callee;
          var save = Error.stackTraceLimit;
          Error.stackTraceLimit = 1;
          var o = {};
          Error.captureStackTrace(o, cap);
          Error.stackTraceLimit = save;
          return o.stack;
      }
docs: /*
  var getStack = function() {
  try {
  foobar;
  } catch(e) {
  return e;
  }
  };