Re: Check your IP
It's true that you don't need Javascript at all, but the advantage of using Javascript in this situation is that you can save the result in a variable, and eventually use it for various string operations.
About your IP: If you ran the script locally, it will most likely return localhost (127.0.0.1).
|