日期:2014-05-16 浏览次数:20351 次
gedit 写代码
?
<html>
<head>
<title>my first js in ubuntu
</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
</head>
<body>
<script>
? function Sing()
? {
??? with(arguments.callee)
??? alert(author+":"+poem);
? };
?
? Sing.author="李白";
? Sing.poem="举头望明月,低头思故乡";
? Sing();
</script>
</body>
</html>