JSFiddle - React, Tailwind, and code Playground

by jfriend00

HTML

<script src="http://files.the-friend-family.com/log.js"></script>

JavaScript

function noisy(f) {
  return function(arg) {
     log("calling with ", arg);
     var val = f(arg);
     log("called with ", arg, "- got ", val);
     return val;
   };
 }
log("result: " + noisy(Boolean)(12));