JSFiddle - React, Tailwind, and code Playground

by eget teteete

JavaScript

function user(name, id){
	this.name = name;
  this.id = id;
  this.human = true;
}
let ivan = new user('Hivan', 23);
console.log(ivan);