📜  错误检查变量 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:55.446000             🧑  作者: Mango

代码示例5
foo.substring(1); // ReferenceError: foo is not defined
var myMysteryVariable1 = document.getElementByClassName("myClass");