Tag: getter

Getter and Setter methods in JS

In JavaScript, getter methods are used to get the value of an object by using get keyword and setter methods are used to set the value of an object by using set keyword. <script> class Person {     constructor(name)...
READ MORE   >>

Recent Comments

    • Copyright © 2020 (Er. Shairy Kalra). All Rights Reserved