jsx return greatest number between two numbers

JavaScript
Math.max(5, 10);
Source

Also in JavaScript: