← Code LabJavaScript0/50 solved · 0%
OOP · medium

25. Getters & static

Computed properties.

Add a getter `short` to `class Addr` returning the first 6 characters of `this.value`.
Required in your answer: get short