Created
December 4, 2017 15:15
-
-
Save AutoSponge/6ff3005183e375be799dc2352b518a04 to your computer and use it in GitHub Desktop.
one-liners
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
// map with native fn | |
[' a', 'b ', 'c'].map(Function.prototype.call, String.prototype.trim) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment