using the power of Proxy, I made some easier ways to create anonymous functions

get a method, call a function, create an object with a single field, and pipeline several methods together!

peek at the code if you want to see the trickery (hint: methods are difficult!)

or a direct (non-GitHub) source link:

(I realize that most of this has probably been done before, somewhere, but it was fun to (re)create it for myself, especially since it gave me the insights about method names)


You must log in to comment.