<html>
<head>
<script type="text/javascript">
function myFunction()
{
return (["Hello, have a nice day!","See you !"]);
}
</script>
</head>
<body>
<script type="text/javascript">
var a, b;
[a,b] = myFunction();
document.write(a + "<P>" + b)
</script>
</body>
</html>
沒有留言:
張貼留言