请实现javascript中的indexOf功能,判断一个字符串a中是否包含另一个字符串b。 ... 如:indexOf("hello","el") return 1。 ... function indexOf(str,subStr){.
確定! 回上一頁