// JavaScript

class

Example

async

function

_getIPAddress

()

const

url

https://httpbin.org/ip

const

response

await

fetch

url

);

const

json

await

response

json

();

const

data

json

origin

return

data

async

function

main

()

const

example

new

Example

();

try

const

ip