Front end of the Slack clone application.

1234567
  1. "use strict";
  2. module.exports = function (fn) {
  3. if (typeof fn !== "function") throw new TypeError(fn + " is not a function");
  4. return fn;
  5. };