SOURCE

function add(a,b){
alert(a+b)
alert(a-b)
alert(a*b)
alert(a/b)
}
function caculater(a,b,f){
f(a,b)

}
caculater(100,2,add)



console 命令行工具 X clear

                    
>
console