單項選擇題

以下哪段代碼不能正確創(chuàng)建函數(shù)show()?()

A.function show(text){ alert(text); }
B.var showFun = function show(text){ alert(text); }
C.var showFun = function(text){ alert(text); }
D.var showFun =new function("text" , "alert(text)"};

微信掃碼免費搜題