JSFiddle - React, Tailwind, and code Playground

by Andrey

JavaScript

function comparison (x,y)  {
  if(x > y) {
  return x;
  } else {
  return y;
  }
}

alert (comparison(10,15, 20, 30, 50));