Skip to content

Instantly share code, notes, and snippets.

View ultimatemonty's full-sized avatar

Chris McCuller ultimatemonty

View GitHub Profile
- var tags = this.get('value').split(',').map(function(v) {
- return v.trim();
- }).reject(function(v) {
- return v.length === 0;
- }).uniq();
-
+ const tags = this.get('value').split(',').map(v => v.trim()).reject(v => v.length === 0).uniq();