【发布时间】:2020-11-17 16:08:30
【问题描述】:
请找到以下数据。
no need duplicate data to me, Please help me in this case:
Id's are Duplicated, i need output without duplicates:
Actual Data:
(9) [{…}, {…}, {…}, {…}, {…}, {…}]
0: {Id: 0, Specialization: "General", Description: "General", IsActive: true},
1: {Id: 1, Specialization: "General", Description: "General", IsActive: true},
2: {Id: 2, Specialization: "General", Description: "General", IsActive: true},
3: {Id: 3, Specialization: "General", Description: "General", IsActive: true},
4: {Id: 4, Specialization: "General", Description: "General", IsActive: true},
5: {Id: 1, Specialization: "General", Description: "General", IsActive: true},
6: {Id: 2, Specialization: "General", Description: "General", IsActive: true},
7: {Id: 3, Specialization: "General", Description: "General", IsActive: true},
8: {Id: 4, Specialization: "General", Description: "General", IsActive: true}
I need Output Like this below:
(5) [{…}, {…}, {…}, {…}, {…}, {…}]
0: {Id: 0, Specialization: "General", Description: "General", IsActive: true},
1: {Id: 1, Specialization: "General", Description: "General", IsActive: true},
2: {Id: 2, Specialization: "General", Description: "General", IsActive: true},
3: {Id: 3, Specialization: "General", Description: "General", IsActive: true},
4: {Id: 4, Specialization: "General", Description: "General", IsActive: true}
我需要如上的输出 我需要如上的输出 我需要如上的输出 我需要如上的输出
【问题讨论】:
标签: javascript html css arrays angular