Skip to content

Conversation

@ironsidevsquincy
Copy link

Browser support is IE9+, but this would go towards making it more lenient to older browsers that don't support trim

@sach2211
Copy link

Would suggest using a better regex
.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '')`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants