JSFiddle - React, Tailwind, and code Playground
HTML
<div id='counter'>
65
</div>
JavaScript
var counter = $('#counter').text();
var counterPlus = counter++;
alert("Incremented Counter" + counter);
alert("CounterPlus contains old counter " + counterPlus);