代码
提交代码
<script> function log(who) { console.log('点击了:' + who); return who; } </script> <a href="javascript: void log('add');">添加</a> <a href="javascript: void log('update');">修改</a> <a href="javascript: void log('delete');">删除</a>
运行结果