← Code LabJavaScript0/50 solved · 0%
Strings · easy

15. String methods

slice, toUpperCase, startsWith.

Write `shorten(addr)` returning the first 6 and last 4 characters joined by `…` (e.g. `0x1234…cdef`).
Required in your answer: .slice(