code: function extractBacktrace(lines) {
    var backtraceLines = [];
    while(lines.length && lines[lines.length - 1].trim().indexOf('at ') === 0) {
      backtraceLines.push(lines.pop());
    }
    return backtraceLines;
  }
docs: /* global exports