DEV Community

loading...

Discussion on: Daily Challenge #1 - String Peeler

Collapse
vguleaev profile image
Vladislav Guleaev • Edited
function removeChar(str){
 return str.substr(1, str.length - 2)
};