Skip to content

Instantly share code, notes, and snippets.

@aruld
Created December 30, 2013 07:37
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