Untitled

mail@pastecode.io avatar
unknown
plain_text
21 days ago
281 B
5
Indexable
Never
var person = {
    F_name: "alice ",
    L_name:  "quack",
    age: 30,
    greet: function(){
        console.log("hello my name is: " + this.F_name + this.L_name + " " + "also my age is : " + this.age);
    }
};

console.log(person.F_name);
console.log(person.greet());
Leave a Comment