Using JavaScript like that is absolutely identical to writing it any other way, except in one little way. Statements that return a value other than null must be wrapped in void....