new String() split详解

<!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>
©️2020 CSDN 皮肤主题: 数字20 设计师:CSDN官方博客 返回首页