new String() split详解

2020-10-28 10:30:58 浏览数 (1)

代码语言: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>

0 人点赞