JSFiddle - React, Tailwind, and code Playground

by pommyk

JavaScript

function Person(personName, personAge, personWeight) {
	this.name = personName;
  this.age = personAge;
  this.weight = personWeight;
}

const personObj = new Person('mike', '12', '120');

console.log(personObj);