I am just trying to use alert and put a string variable inside the alert and get an error:
Uncaught TypeError: Property \'alert\' of object [Object Window] i
I had that error message due to an alert() blocked by my pop-up-blocker.
alert()