functional-js #13 and #12