Closed janryWang closed 3 years ago
https://github.com/juliangruber/balanced-match/blob/master/index.js#L13 If a and b are null, then an error will be throw
oh, yeah you're right! do you want to create a pull request to fix this?
not fix,if a or b is null
'null'.indexOf(null) 0
https://github.com/juliangruber/balanced-match/blob/master/index.js#L13 If a and b are null, then an error will be throw