Created
December 9, 2015 14:06
-
-
Save hergaiety/2a34f66eb0562b122abf 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
var sample = _.chain(this.sidebarItems) | |
.pluck('title') | |
.sample(3) | |
.value(); | |
var placeholder = '"' + sample.join('", "') + '"'; | |
// Result: '"Blink", "Tear flow", "Acommodation"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment