<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<script type="text/javascript">
/*let str="abc";
let newstr=str.replace("a","m");
console.log(newstr);
let a="c";
let b="y";
let c="g";
let d=a+b+c;
console.log(d);*/
/*let f="cyg";
let str=new String(f);
//let str="www.baiud.com";
console.log(str.length);
str.split(".");
*/
</script>
</body>
</html>
new String() split详解
猜你喜欢
转载自blog.csdn.net/qq_37805832/article/details/108763936
今日推荐
周排行