learing closure ,function global namespace ,local namespace