Hasn't use "let" before to declare variables, will definitely use now ( Thanks to Sarah Chima for her post "dev.to/sarah_chima/var-let-and-con..." )! :D
Is "for of" more optimized for this kind of methods (recursive), instead of indexed ones ?
I had that "charSeparator" declared inside because at the time i made it i though leaving the option to choose the char used to be received in parameter (but then i just forgot it XD)
That variable "i" .... I just can't even remember why was there ?? :/ My bad !
Tonight i won't be able, but tomorrow right after work, will fix it ! ;)
Hasn't use "let" before to declare variables, will definitely use now ( Thanks to Sarah Chima for her post "dev.to/sarah_chima/var-let-and-con..." )! :D
Is "for of" more optimized for this kind of methods (recursive), instead of indexed ones ?
I had that "charSeparator" declared inside because at the time i made it i though leaving the option to choose the char used to be received in parameter (but then i just forgot it XD)
That variable "i" .... I just can't even remember why was there ?? :/ My bad !
Tonight i won't be able, but tomorrow right after work, will fix it ! ;)
Thanks a lot for your feedback Mihail :D
If you look in the replies to my above comment, I replied to myself (and then replied again to that comment) with new versions of the code.