Correcting teacher:PHPz
Correction status:qualified
Teacher's comments:
let a;
const b;
a=10;
b = 20;
console.log(a);//变量使用
console.log(b);//常量使用
function a(){
return ('命名函数');
}
console.log(a());
let niming = function () {
return "匿名函数";
};
console.log(niming());
f = () => "箭头函数";
console.log(f());