Vehicle-purchase javascript

Can somebody help me? I am feeling silly
I get more time trying to understand how they want the solution than founding the solution itself. this is my code, and down is the result

export function needsLicense(kind) {
   if ('car' || 'truck') {
     return true;
   }
  else {
    return false;
  }
}
 if ('car' || 'truck') {

What does this do?
You forgot to use the kind argument.

1 Like