
Let's look at an example of why getters (and so are also setters) are so useful. Let's say you have an AJAX call that you're using via fetch to retrieve the value of 1 USD in INR. Say we have a script that gets the content of https://open.er-api.com/...
Web UI Engineer
I am a web consultant from Navi Mumbai. Mainly dealt with LAMP stack, now into Django and getting into Laravel and Cloud. Founder of nerul.in and gaali.in
Markdown supported · ⌘↵ to post
No responses yet.