spray
spray copied to clipboard
Useless piece of code?
if((length % 2) === 0){ start = word.slice(0, word.length/2); end = word.slice(word.length/2, word.length); } else{ start = word.slice(0, word.length/2); end = word.slice(word.length/2, word.length); }
This is an if clause where both chance are the same...?