Build a Loan Qualification Checker - Step 3

Tell us what’s happening:

Can anyone tell me where did I went wrong in this code ?

Your code so far

const minIncomeForDuplex = 60000;
const minCreditScoreForDuplex = 700;

const minIncomeForCondo = 45000;
const minCreditScoreForCondo = 680;

const minIncomeForCar = 30000;
const minCreditScoreForCar = 650;


// User Editable Region

function getLoanMessage(annualIncome, creditScore, minIncomeForDuplex, minCreditScoreForDuplex) {
  if(annualIncome>=minIncomeForDuplex && creditScore >=minCreditScoreForDuplex){
    return "You qualify for a duplex, condo, and car loan."
  }
  return undefined;
}


// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Safari/605.1.15

Challenge Information:

Build a Loan Qualification Checker - Step 3

What does the error message say?

What have you tried to fix that error message?

Please reset this step to restore the original code and try again. Pay close attention to variable constants that have already been declared in your code.

Done. Thank you but tried different method.