Typescript Unique In Array Javascript Push Method In Php