js 字符串存在

js 字符串存在

function strIsIn(smallStr,bigStr){
    return bigStr.includes(smallStr)
}

你可能感兴趣的:(javascript)