Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Count solution in Clear category for [old] Three Words by bryukh
"use strict";
function threeWords(text) {
const words = text.split(" ");
let countWord = 0;
for (let w of words) {
countWord = w.match(/[a-z]/i) ? countWord + 1 : 0
if (countWord === 3) {
return true;
}
}
return false;
}
June 25, 2016
Comments: