Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Approved!
JavaScript fork (author inactive)
Man this getting hard.
function testit(s){
//return s;
//return s.substr(0,1);
switch(s.length) {
case 0: return "";
break;
case 1: return s;
break;
default:
let array = [];
let charArray = [];
for (let iterator = 0; iterator < s.length; iterator ++) {
if(iterator % 2 == 0) {
charArray = [];
}
charArray.push(s[iterator]);
if(iterator % 2 == 0) {
array.push(charArray);
}
}
}
function getcharacter(Strings = [[]]) {
let retorno = "";
Strings.forEach(value => retorno += value[0]);
return retorno;
}
/author: return ???;
me: Let's see how this goes/
}
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution