Question Pedro in lesson «Mutators and for loop», course «Programming fundamentals»


Hi. I'm trying a lot of "codes" to try to solve this exercise, but whenever I expect the result to be either true or false, the resulte is "undefined". I don't know exactly what this means. Thank you

1 0



Please provide a link to your solution so we can spot an issue and provide support to complete this exercise. To do this, please use the “code review” feature to save your solution on the site (or even save multiple versions of your solution for your further reference). Later you can share it with others and use it for further discussion.


Use Hexlet to the fullest extent!

  • Ask questions about the lesson
  • Test your knowledge in quizzes
  • Practice in your browser
  • Track your progress

Sign up or sign in

By sending this form, you agree to our Personal Policy and Service Conditions
Suggested learning programs

From a novice to a developer. Get a job or your money back!

Frontend Developer icon
Development of front-end components for web applications
start anytime 10 months
Layout Designer icon
New Under development beginner
Layout with the latest CSS standards
start anytime 5 months