But now the bigger question: Have you not been reading this forum for a while? Have you not read many many times that alert( ) is obsolete and a really really bad thing to use?
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.