<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<script type="text/javascript">
var tenmp ;
var node1 = "青苹果";
var nose2 = "红苹果";
tenmp = node1 ;
node1 = nose2 ;
nose2 = tenmp;
console.log(node1);
console.log(nose2);
</script>
</body>
</html>
用js将1和2的顺序进行调换