题目: Please give a function to check matching pairs of braces, parenthese and brackets
function isMatchingPair(str) {
// your code here
}
isMatchingPair('(str[x)xx]') // return false
isMatchingPair('({[str]})') // return true
守候你守候我
相关分类