写一段程序,实现对函数checkscope()的调用
function checkscope(){}
<input type="button" value="调用checkscope" onclick="checkscope()"/>
function checkscope(){}
<input type="button" value="调用checkscope" onclick="checkscope()"/>
// 定义scope ()
function checkscope(){//代码块}
//创建点击按键并绑定事件
<input type="button" value = "checkscope" onclick = "checkscope()" />
function checkscope(){}
<input type="button" value="调用checkscope" onclick="checkscope()"/>