DEV Community

loading...

Discussion on: Daily Challenge #1 - String Peeler

Collapse
peter279k profile image
peter279k

Here is my simple solution :).

function removeChar(str){
 //You got this!
  return str.substr(1, str.length-2);
};
Forem Open with the Forem app