I got this question in my interview and I have no Idea how to proceed. I have search net but not got any satisfactory answer. The question is:-
Write a Javascript that gives a pop-up alert shows the IP address of the user, and outputs a file as follows in the pop-up alert: My IP address: 10.123.123.43
Kindly help me out. Thanks