这个作业属于哪个课程 | https://edu.cnblogs.com/campus/sdscfz/SF3/ |
---|---|
这个作业要求在哪里 | https://edu.cnblogs.com/campus/sdscfz/SF3/homework/12939 |
这个作业的目标 | 第二次作业-交换两个变量的值 |
<html>
<head>
<meta charset="utf-8">
<title>交换两个变量</title>
</head>
<body>
<script>
var one = 3
var two = 4
var temp = one;
one= two;
two = temp;
document.write(one);
document.write(two);
</script>
</body>
</html>
![](/i/l/?n=23&i=blog/3121439/202303/3121439-20230311152026638-1812574813.png)
``
标签:两个,变量,作业,交换,two,https,var,com,cnblogs
From: https://www.cnblogs.com/l2m3/p/17206147.html