charAt(index) 输出某一位下标值的字符
<body><script>var str ="hello";console.log(str.charAt(1)); //e</script></body>
indexOf() 输出字符串中某个数的下标
<body><script>var str ="hello";console.log(str.indexOf("h")); //0console.log(str.includes("eh")); //false</script></body>
