js基础-理解函数的重复使用
作者:互联网
直接上代码
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script>
function getAdd (){
document.write(`**********************</br>`)
document.write(`**********************</br>`)
document.write(`****** ** ******</br>`)
document.write(`**** ****</br>`)
document.write(`***** ****</br>`)
document.write(`****** *****</br>`)
document.write(`******** *******</br>`)
document.write(`********* ********</br>`)
document.write(`*********** *********</br>`)
document.write(`*********** *********</br>`)
}
getAdd()
getAdd()
getAdd()
</script>
</body>
</html>
标签:function,Document,函数,getAdd,js,重复使用,write,document 来源: https://blog.csdn.net/weixin_54902466/article/details/116615172