default return from a function

is undefined
assigning a name into anonymous function
injecting semicolon automatically in javascript