level 2
命运那条线
楼主
js小白问个问题
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
</head>
<body>
<!-- Note the usage of `type=module` here as this is an ES6 module -->
<script type="module">
function clk()
{
console.log(add(100, 200));
}
</script>
<input type=button value="按钮" onclick="clk()">
</body>
</html>
2019年04月12日 18点04分
1
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
</head>
<body>
<!-- Note the usage of `type=module` here as this is an ES6 module -->
<script type="module">
function clk()
{
console.log(add(100, 200));
}
</script>
<input type=button value="按钮" onclick="clk()">
</body>
</html>