DEV Community

loading...

Discussion on: Daily Challenge #1 - String Peeler

Collapse
alvaromontoro profile image
Alvaro Montoro • Edited

In JavaScript it could be 24 bytes:

f=s=>s.slice(1,-1)||null
Enter fullscreen mode Exit fullscreen mode