Click to see 123:

Safari (pre-Tiger) will say [object INPUT] instead because its closures do not capture function arguments. Instead, the anonymous function and its closure won't resolve the variable name "num" and will proceed to find "num" at the top of the scope chain in the window global object.