JSFiddle - React, Tailwind, and code Playground

HTML

<button type="button">click</button>

JavaScript

var checkObject = function() {};

checkObject.prototype = {
	checkName:function(){
  
  },
  checkEmail : function(){
  
  },
  checkPassword : function(){
		alert()  
  }
};

var a = new checkObject();
a.checkPassword();