News for hackers. Stuff that matters.
Re:Recursions without names: Introduction to the Y combinato... by Sacho on Friday August 12, 2016 @05:55AM (#12274360)
Your version of Safari most likely lacks support for ES6 features like arrow functions[0], you could use babel[1] to transpile the code to ES5:

  (function (f) {
    return f(f);
  })(function (func) {
    return function (n) {
      return n === 0 ? 1 : n * func(func)(n - 1);
    };
  })(19);

[0] http://caniuse.com/#feat=arrow-functions

[1] https://babeljs.io/repl/

There are no comments on this comment yet.