Rex Ng
1 min readOct 11, 2018

--

May I also suggest revisiting the regex match and consider using capture groups instead calling `.match` twice? Regex matches are usually expensive in every programming language and you would want to avoid as many calls as possible.

--

--

Rex Ng
Rex Ng

Written by Rex Ng

Programmer | Watch enthusiast

No responses yet