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