Help me in solving JS03 problem

My issue

I can’t give proper value to code.

My code

/* right to voting above 18 years*/

var age = 18;

if (age <=18) {
  console.log(" he was eligible for to voting.");
} else {
  console.log("he was not eligible voting .");

Learning course: Web development using JavaScript
Problem Link: CodeChef: Practical coding for everyone


Can you please explain what was your real concern while solving the problem?