js用方法做参数

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
function aa(c)
{
 alert(c);
}

function bb(a,k){
    if (k){
  alert('ggg');
 }else{
     alert('vvvv');
 }

 alert("bb");
 a("cc");
}

var kk=0;
bb(aa,kk);
//-->
</SCRIPT>
<BODY>
            
</BODY>
</HTML>

你可能感兴趣的:(JavaScript,html,C++,c,C#)