kobaatsu
1/26/2017 - 8:01 AM

配列ユニーク

IE8使えないっすね(鼻ホジ

selected = selected.filter (element, index, self)->
  return self.indexOf(element) is index