code: function snipLine(line, colno) {
    var ll = line.length;
    if (ll <= 150) return line;
    if (colno > ll) colno = ll;
  
    var start = Math.max(colno - 60, 0);
    if (start < 5) start = 0;
  
    var end = Math.min(start + 140, ll);
    if (end > ll - 5) end = ll;
    if (end === ll) start = Math.max(end - 140, 0);
  
    line = line.slice(start, end);
    if (start > 0) line = '{snip} ' + line;
    if (end < ll) line += ' {snip}';
  
    return line;
  }
docs: This is basically just `trim_line` from https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67