just-compose
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "just-compose", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "return a function composed of 2 or more functions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,5 +11,5 @@ ## just-compose | ||
const sqRootBiggest = compose(Math.trunc, Math.sqrt, Math.max); | ||
const sqRootBiggest = compose(Math.max, Math.sqrt, Math.trunc); | ||
sqRootBiggest(10, 5); // 3 | ||
sqRootBiggest(7, 0, 16); // 4 | ||
``` |