Open KhalilKhunji opened 1 month ago
https://github.com/Mahdicoding1987/js-functions-lab/blob/ff8d43616d84ba6e519ce41dba02530b47ce339a/exercise-2.js#L2
The question was asking for those 18 and older to be classified as Adults. The logic of the function is sound, though!
Just take your time and read questions more carefully. It's always good to pay attention to details when problem-solving.
https://github.com/Mahdicoding1987/js-functions-lab/blob/ff8d43616d84ba6e519ce41dba02530b47ce339a/exercise-2.js#L2
The question was asking for those 18 and older to be classified as Adults. The logic of the function is sound, though!
Just take your time and read questions more carefully. It's always good to pay attention to details when problem-solving.