Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 | 2x 12x | /** * Removes the last character from the provided string. * * @param {string} str - The string from which the last character will be removed. * @return {string} A new string without the last character of the input string. */ export function stripEnd(str: string): string { return str.substring(0, str.length - 1) } |