Inscripts interview question

If a node client is making requests to two different server and in return we expect a string response from server responding quicker, how to do that using Javascript?