How to Use Nested Ternary Operators in JavaScript to Remove Trailing Characters

welcome to shbcf.ru