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