JSFiddle - React, Tailwind, and code Playground

by saidulu401

JavaScript

function Person(name) {
     this.first_name = name;
}
var a = Person('a');
var b = new Person('b');
var c = Person;


console.log(a.first_name);
console.log(b.first_name);
console.log(c.first_name);