Created
August 26, 2016 05:36
-
-
Save ipassynk/9e840090a00349c90038bdcf99b4c800 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 x= "Anna Vadim Julia"; | |
let res = _.compose(_.join(''),_.map(x=>x.charAt(0)),_.split(' '))(x); | |
console.log(res); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment