第二次作业
第二次作业
| 这个作业属于哪个课程 | https://edu.cnblogs.com/campus/sdscfz/SF4 |
|---|---|
| 这个作业要求在哪里 | https://edu.cnblogs.com/campus/sdscfz/SF4/homework/12940 |
| 这个作业的目标 | 第二次作业-交换两个变量的值 |
<!DOCTYPE html>
<html lang="en">
<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>
var qwe1 = 10
var qwe2= 20
var temp
temp = qwe1
qwe1 = qwe2
qwe2= temp
console.log(qwe1,qwe2)
document.write(`qwe1值是${qwe1} <br> qwe2值是${qwe2}`)
</script>
</body>
</html>


浙公网安备 33010602011771号