Closed apstanisic closed 1 year ago
runkit link
Run bellow code, it throws:
radash.trim(" __-_ hello", "_- ")
Error
SyntaxError: Invalid regular expression: /^[_- ]+|[_- ]+$/: Range out of order in character class
I can open PR
PS Are you open for adding trimStart and trimEnd?
trimStart
trimEnd
Oh wow, that's an awful bug. I think trimStart and trimEnd would be great additions 👍
runkit link
Run bellow code, it throws:
Error
I can open PR
PS Are you open for adding
trimStart
andtrimEnd
?