So this is my code
let user = {
    fName: 'Kado',
    lName: 'Kliewer',
    uName: 'kKliewer23',
    age: 18,
};
function helloUser(user) {
    if(user.fName === true && user.lName === true && user.age >= 18) {
        console.log(`Hello ${user.uName}. Welcome to the world of wonders.`);
    } else {
        console.log("Please get a parent's permission before playing this game.")
    }
};
helloUser(user);
I'm brand new to coding and JavaScript but I'm a little confused on the relationship between objects and functions. When I run my code it logs "Please get a parent's permission before playing this game.
I have tried making the first part of my if/else statement to equal true but it evaluated to the same answer. Could someone please explain this and help me?
 
     
     
    