摘要: 1, javascript函数定义调用 function test(){ alert("aaa"); } var a=function(){ alert('aa'); } 2,javascript函数参数 function test(a,b){ return a+b; } 3,javascript封 阅读全文
posted @ 2020-03-05 19:56 学无边涯 阅读(193) 评论(0) 推荐(0) 编辑
摘要: javascript输出是运行代码输出的表现形式,常见的有alert console.log document.write 等,javascript中三种输出方式总结 1,alert()方式 这种是弹出窗口的形式 <script> alert("1222"); </script> 2,console 阅读全文
posted @ 2020-03-05 08:39 学无边涯 阅读(750) 评论(0) 推荐(0) 编辑