Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- maybe function FindUserPhone(name){
- connection = unwrap connect_to_server();
- user_id = unwrap connection.find_user_by_name(name);
- return connection.find_phone_by_user_id(user_id);
- }
- function FindUserPhone(name){
- connection = connect_to_server();
- if ( !connection ){
- return;
- }
- user_id = connection.find_user_by_name(name);
- if ( !user_id ){
- return;
- }
- return connection.find_phone_by_user_id(user_id);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement