my solutions to the `functional-javascript-workshop`