Searched refs:newlineIndex (Results 1 – 1 of 1) sorted by relevance
35 const newlineIndex = s.indexOf('\n') > 0 ? s.indexOf('\n') : s.length; constant36 return s.slice(0, Math.min(newlineIndex, s.length, 16));