JSFiddle - React, Tailwind, and code Playground
by ChrisStanyon
HTML
<input type="text" name="input1" onchange="recalcTotal.call(this, event)">
<input type="text" name="input2" onchange="recalcTotal(this, arg);">
JavaScript
function recalcTotal(event) {
//'use strict';
// console.log(event)
console.log(this)
console.log(event)
}