Created
November 27, 2018 09:46
-
-
Save kaskichandrakant/bf1b96f3a1d71b5fbdff17f8c9868fdd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let collector = function(collection){return (unit)=>{collection.push(unit)}} | |
let collectionA = [] | |
collectorForA=collector(collectionA) | |
collectorForA(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment