hi could anyone help me with some JavaScript explanations and answers ? it’s regarding function parameters

In order to purchase an item online we need to check that the user’s password is correct and that they have enough money to afford it. Use what you’ve learned about logic and comparison operators to complete the code.

Assign an expression to isPasswordCorrect that checks that secret is the correct password, ‘hunter2’.
Assign an expression to isAffordable that checks their funds are at least 10.99.
Assign an expression to isPurchasable that checks that both isPasswordCorrect and isAffordable are true.

function canWeBuyIt(secret, funds) {
const isPasswordCorrect = secret
const isAffordable funds => 10.99
const isPurchasable = secret && funds

return { isPasswordCorrect, isAffordable, isPurchasable };

}