Hacker News new | past | comments | ask | show | jobs | submit login

    var foo = function (len) {
      return Array(len)
        .join(0)
        .split(0)
        .map(function (e, i) {
          return function () {
            return i;
          };
        });
    };



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: