3-10编程练习问题
来源:3-29 编程练习
简单的自己
2017-07-11 17:39:19
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>toUpperCase和toLowerCase</title>
</head>
<body>
<script>
var str="Never deter till tomorrow that which you can do today";
var arr=str.split(" ");
var index=arr.indexOf('tomorrow');//补充代码
var strNew=arr.slice(3,4)//补充代码
var upperStr=strNew[0].toUpperCase();//补充代码
document.write(upperStr);
</script>
</body>
</html>
1回答
小丸子爱吃菜
2017-07-11
实现的结果是没问题的,要相信自己~
祝学习愉快!
相似问题