DEV Community

Discussion on: Using Static Keyword in JavaScript

 
devhammed profile image
Hammed Oyedele

Getters are usually used to create dynamic properties because it is a function you can write logic e.g you can read value of a property from a file or from database.