mathiasbynens / emoji-regex

A regular expression to match all Emoji-only symbols as per the Unicode Standard.
https://mths.be/emoji-regex
MIT License
1.72k stars 175 forks source link

feat:compatible to es5 #97

Open bigbossx opened 2 years ago

bigbossx commented 2 years ago

Maybe we can change the arrow function to a normal function definition,so that we can use this package normally without compiling even in low-end browsers。yes, I used this package in webpack2, and finally compiled an error because the uglify plugin does not support es6