Lesson 5


#1

var text = "heddd cxxcx xxcc shlomo ssssd";
var myName = "shlomo";
var hits = [];
for (var i = 0; i < text.length; i++){
if (text[i] === 's'){
for(var s = i; hits.push('shlomo');
)

}


#2

You have a syntax error here