JSFiddle - React, Tailwind, and code Playground

by webspicer

JavaScript

// Use
document.write( double(5) );

(function double(num) {

  return num * 2;

})();