function uniqueMap ( array ) { return array.filter( function ( value ) { return !this.has( value ) && !this.set( value, true ); }, new Map()); }