DEV Community

loading...

Discussion on: Daily Challenge #1 - String Peeler

Collapse
lakdivian profile image
Noorul Ameen K M

const strig_slicer = (some_string) => some_string.length >= 2 : some_string.slice(1,-1) : null

Forem Open with the Forem app