yuriaps
yuriaps
Bug in this test ```console.log('aabbcc', strComp('aabbcc'), 'aabbcc')``` As the book says, if the length of the result is not less than the original should print the original, and it is...
I don't see why use the Math.max()... I would go this way ``` var strComp = function(string) { var compressed = ''; var currChar = ''; var currCount = '';...
Poxa, eh uma pena que o PR ainda nao esteja aprovado, o codigo parece correto, estava precisando aplicar no meu projeto e notei que faltava esse feriado