JSFiddle - React, Tailwind, and code Playground

JavaScript

var a;
var p = function(m) {
 a = m + 2;   
}
    document.write(p(3));