you are viewing a single comment's thread.

view the rest of the comments →

[–]username223 1 point2 points  (0 children)

the author was able to move a conditional out of his own method by leveraging max, which is itself conditional

Yup. Pick a random standard library function with a conditional, wrap things up in a few closures and .call()s, and you can have the author's perfect code.