gedit 写代码

<html>

<head>

<title>myfirstjsinubuntu

</title>

<metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/>

</head>

<body>

<script>

functionSing()

{

with(arguments.callee)

alert(author+":"+poem);

};

Sing.author="李白";

Sing.poem="举头望明月,低头思故乡";

Sing();

</script>

</body>

</html>