4 Answers
4

Here's the student function fixed for you. Using ternary if statement instead of your "Boolean() {}" which really isn't valid Javascript code + boolean is either true or false, you returned "adult" or "minor" which are strings and don't really match up with Boolean type anyway.