JSFiddle - React, Tailwind, and code Playground

by Mitch Greer

JavaScript

var person= {
    name: "Nicholas",
    age: 29,
    job: "Software Engineer",
    
    sayName: function() {
        alert(this.name);
    }
}

person.sayName();