News for hackers. Stuff that matters.
Re:Bite-size coding challenge: implement if/else in JavaScri... by Someone on Friday January 10, 2020 @04:11PM (#22015583)

  function ifThenElse(cond, trueFn, falseFn) {
    cond && trueFn();
    cond || falseFn();
  }

There are no comments on this comment yet.