2-3 编程练习 代码提交

来源:2-3 编程练习

MiMicccc

2021-08-27 19:25:18

<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<title>模版字符串</title>
</head>

<body>
<script type="text/javascript">
// 补充代码

function addText() {
return 'Web攻城狮';
}

let newText = `慕课网${addText()}`;
document.write(newText);
</script>
</body>

</html>


写回答

1回答

好帮手慕久久

2021-08-28

同学你好,代码正确,很棒!

祝学习愉快!

0

0 学习 · 10739 问题

查看课程