JSFiddle - React, Tailwind, and code Playground

by JamesPattison

HTML

<div id="results"></div>

JavaScript

var x = 16, y = 0, z = 5;
var result = x-y+z; //16-0+5, expected by BODMAS: 16-(0+5) = 11
$('#results').html(result.toString())