Mistři v programování na #hovnokod

JavaScript #1885

WTF???

function(sChar){
        for(var i=0;i<this.sameWordsArray.length;i++){
                if(this.sameWordsArray[i].letter == sChar){
                    for(var j=0;j<this.sameWordsArray[i].words.length;j++){
                                if(this.sameWordsArray[i].words[j].index == this.selectedOption && arguments.length == 1){
                                        return [this.sameWordsArray[i], j];
                                } else {
                                        return [this.sameWordsArray[i], j];
                                }
                        }
                        break;
                }
        }
        return false;
};

Anonymous,