לא מצליח לרשום מחרוזת עם console.log?

That would tell me the code isn’t getting executed. Does a console.log fire if you’re outside the if statement?