← Code LabReact Native0/50 solved · 0%
Formatting · easy

5. Shortening addresses

A classic mobile wallet UI helper.

Write `shortenAddress(addr)` returning the first 6 and last 4 characters joined by `…`.
Required in your answer: .slice(