alert("hi!"); // NOT OK x.alert("hi!"); // OK new alert(); // OK function alert() { } // OK