Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaSript Objects
The defineProperty() Method
The defineProperty() method can define setters and getters: