JSFiddle - React, Tailwind, and code Playground

by zerrax

JavaScript

var a = "5", b ="10", c = "15";
var returns = "";
if(a > b)
{
	if(b > c)
  {
  	if(a * 2 == 10)
    {
    	returns = 5;
    }
    else
    {
    	returns = 1;
    }
  }
  else
  {
  	if(a * 3 != 10)
    {
    	returns = 3;
    }
    else
    {
    	returns = 9;
    }
  }
}
else
{	
	returns = 10;
}
alert(returns);