From a25521e4a9223b0d67e4e8b4db91b0c44ffede7e Mon Sep 17 00:00:00 2001 From: 30secondsofcode <30secondsofcode@gmail.com> Date: Thu, 7 Jun 2018 19:45:41 +0000 Subject: [PATCH] Travis build: 2135 --- docs/adapter.html | 2 +- docs/archive.html | 2 +- docs/array.html | 2 +- docs/beginner.html | 2 +- docs/browser.html | 2 +- docs/date.html | 2 +- docs/function.html | 2 +- docs/math.html | 2 +- docs/node.html | 2 +- docs/object.html | 2 +- docs/string.html | 2 +- docs/type.html | 2 +- docs/utility.html | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/adapter.html b/docs/adapter.html index c2a0febd5..a900e77ba 100644 --- a/docs/adapter.html +++ b/docs/adapter.html @@ -152,4 +152,4 @@ Object.assig arrayMax([1, 2, 3]); // 3 📋 Copy to clipboardunaryCreates a function that accepts up to one argument, ignoring any additional arguments.Call the provided function, fn, with just the first argument given.const unary = fn => val => fn(val); Show examples['6', '8', '10'].map(unary(parseInt)); // [6, 8, 10] -📋 Copy to clipboard↑
Creates a function that accepts up to one argument, ignoring any additional arguments.
Call the provided function, fn, with just the first argument given.
fn
const unary = fn => val => fn(val);
['6', '8', '10'].map(unary(parseInt)); // [6, 8, 10] -