4. Your 'if'' statement


In your 'if' statement, I wrote this program

/*jshint multistr:true */

var text = "hey Ankit, how are you doing Ankit and why you are so sad Ankit?";
var myName = "Ankit";
var hits = [];

for (var i = 0; i < text.length; i ++){
if (text[i] === "A"){

when I try to Run The Program, It is showing error message like:
Oops, try again. There was a problem with your syntax.


speech marks missing and semi colons from last bracket