简单教程
提交运行
代码编辑器:
<script> function getValue(){ var a,b,c; a = void ( b = 5, c = 7 ); document.write('a = ' + a + ' b = ' + b +' c = ' + c ); } </script> <p>点击以下按钮查看结果</p> <form> <input type="button" value="点我" onclick="getValue();" /> </form>
运行结果: