(userId1: string, userId2: string)
| 5 | * @param userId2 user id |
| 6 | */ |
| 7 | export default function getFriendId(userId1: string, userId2: string) { |
| 8 | if (userId1 < userId2) { |
| 9 | return userId1 + userId2; |
| 10 | } |
| 11 | return userId2 + userId1; |
| 12 | } |
no outgoing calls
no test coverage detected