js中indexof的用法_js使用indexof是什么复杂度 js判断字符,串是否为字母?1、操作方法如下:varp=/[0-9]/;varb=p.test(string);//true,说明有数字。var... 编程 admin 25 2024-07-08