JavaScript sur Lose Focus

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