Syntax checking dont work

when i cod give me that no eror but when i run the cod console give me eror

Morning @abdulrahman_badr,

Please provide the following info:

  1. Programming language
  2. Code sample indicating what is failing
  3. Komodo version
  4. OS/Platform