We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
复习一下正则表达式
'/[a-z]/'.test(x)
'abc'.replace('/[a-z]/g',(item)=>item)
function tuoTo(targetString) { return targetString.replace(/([A-Z])/g,function(match) { return '-' + match.toLowerCase() }) } console.log(tuoTo('qiLin'))