Correcting teacher:查无此人
Correction status:qualified
Teacher's comments:完成的不错,继续努力。
点击 "运行实例" 按钮查看在线实例
效果图:
在js中定义变量用var,但是在引用变量时不用加var,直接书写变量名即可,alert();会以弹窗形式输出,console.log();会在控制台内打印