Any way to get the current url?

I have tried to navigationDocument.documtents, no matter what info I try to retrieve(url, baseURL, documentURL.), it's undefined. please show some light here.

Any way to get the current url?
 
 
Q