无法弄清楚我的 if/else 子句有什么问题。不断给我一个意外的令牌错误。
var creditCheck = function(income) {
var val = income;
};
if (creditCheck > 100); {
return "You earn a lot of money! You qualify for a credit card.";
} else {
return "Alas, you do not qualify for a credit card. Capitalism is cruel like that.";
}
console.log(creditCheck(75));