代码语言:javascript复制
<!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>