Does program stop if a variable is not defined? (ReferenceError: x is not defined)

前端 未结 0 1359
醉酒成梦
醉酒成梦 2020-12-06 03:23
getName();
console.log(x);
console.log(getName);

function getName() {
    console.log("Bla bla bla");
}

When i execute the code above, th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题