JavaScript On Lose Focus

<input type="text" onfocusout="myFunction()">
Undefined