var URIController = { get href() { return url.location.href; } }
I have above object structure. But URIController.href pro
URIController.href
No, you can't pass an argument to a " getter " use a " setter " rather.