From b9f5c216c6eb75f3a00c6b121da5a72885286fa0 Mon Sep 17 00:00:00 2001 From: Ulrich-Matthias Schäfer Date: Mon, 12 Nov 2018 13:29:15 +0100 Subject: ticking off the last checkbox of (#645). return List whenever possible --- src/types/List.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/types') diff --git a/src/types/List.js b/src/types/List.js index b50a18e..8bd3985 100644 --- a/src/types/List.js +++ b/src/types/List.js @@ -16,9 +16,6 @@ extend(List, { this.forEach((el) => { fnOrMethodName.call(el, el) }) } else { return this.map(el => { return el[fnOrMethodName](...args) }) - // this.forEach((el) => { - // el[fnOrMethodName](...args) - // }) } return this -- cgit v1.2.3