LeetCodeRemove Trailing Zeros From a StringRemove Trailing Zeros From a StringEasyStringSolution export function removeTrailingZeros(num: string): string { return num.replace(/0+$/, ''); }LeetCodeRemove Trailing Zeros From a Stringhttps://leetcode.com/problems/remove-trailing-zeros-from-a-string