From c3e7072fa2963a8b8b71dfc0e684da2df1ebf089 Mon Sep 17 00:00:00 2001 From: David Majda Date: Thu, 1 Sep 2016 15:25:23 +0200 Subject: [PATCH] Remove unused arrays.pluck function --- lib/utils/arrays.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/utils/arrays.js b/lib/utils/arrays.js index 1ef8106..f22948f 100644 --- a/lib/utils/arrays.js +++ b/lib/utils/arrays.js @@ -54,10 +54,6 @@ var arrays = { contains: function(array, valueOrPredicate) { return arrays.indexOf(array, valueOrPredicate) !== -1; - }, - - pluck: function(array, key) { - return array.map(function (e) { return e[key]; }); } };