What are the key differences between these two self-invoking functions?