Skip to content

Instantly share code, notes, and snippets.

@aruld

aruld/gist:8178976

Created Dec 30, 2013
Embed
What would you like to do?
var employees = { "neal", "s", "stu", "j", "rich", "bob" }
var result = employees.where(\s -> s.length > 1)
.map(\s -> s.capitalize())
.join(",")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.