<script> const _searchStrIndexOf = (str, target) => { // 补全代码 return str.split(target).length - 1 } </script>
split()的用法