From 0efd8f7b39a673e9428a1fb4556f2cd029ff7925 Mon Sep 17 00:00:00 2001 From: 30secondsofcode <30secondsofcode@gmail.com> Date: Thu, 7 Jun 2018 19:21:52 +0000 Subject: [PATCH] Travis build: 2133 --- README.md | 2 ++ 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 +- 14 files changed, 15 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 4ea8151fa..ec2c86abc 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ > Curated collection of useful JavaScript snippets that you can understand in 30 seconds or less. +[](https://www.digitalocean.com) + - Use Ctrl + F or command + F to search for a snippet. - Contributions welcome, please read the [contribution guide](CONTRIBUTING.md). diff --git a/docs/adapter.html b/docs/adapter.html index b9c269dc6..c2a0febd5 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] -