This commit is contained in:
2020-12-31 09:56:58 +08:00
parent b102698d90
commit 2ac1c5b5b9
3 changed files with 147 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
<html>
<head>
<title>javascript演示</title>
<script>
function hello(){
var name = "啦啦啦";
var age = 18;
alert(name);
}
</script>
</head>
<body>
<button onClick="hello()">点我运行hello这个函数</button>
</body>
</html>