javascript new set array code example Example: js new array from new set return Array.from(new Set(this.posts.map(e => e.category)))