JSFiddle - React, Tailwind, and code Playground

by Juan Alban Franco

HTML

<html>

<head>
</head>

<body>


</body>

</html>

JavaScript

function node () {
	this.content = null
  this.left = null;
  this.right = null;
}

function Expression_Tree(character){

}

Expression_Tree.prototype.operator = function (character){
        	if (character == '+' ||character  == '-'|| character == '*' || character == '/'|| character == 								'^') {
            return true;
        }
		return false;
}

var et = new Expression_Tree();

alert(et.operator('+'));