Merge branch 'staging' into join
This commit is contained in:
50
zCoba.js
50
zCoba.js
@@ -1,28 +1,28 @@
|
||||
const data = [
|
||||
{
|
||||
authorId: "clx8pl7r90005su4mldioo0v1",
|
||||
Donasi: {
|
||||
id: "clyr304q0000410ljvzms3mag",
|
||||
title: "Donasi Bencana Alam Aceh",
|
||||
},
|
||||
},
|
||||
{
|
||||
authorId: "clx8pl7r90005su4mldioo0v1",
|
||||
Donasi: {
|
||||
id: "clyr304q0000410ljvzms3mag",
|
||||
title: "Donasi Bencana Alam Aceh",
|
||||
},
|
||||
},
|
||||
{
|
||||
authorId: "clycka5eu0001ina3i1ssgze9",
|
||||
Donasi: {
|
||||
id: "clyr304q0000410ljvzms3mag",
|
||||
title: "Donasi Bencana Alam Aceh",
|
||||
},
|
||||
},
|
||||
];
|
||||
// const data = [
|
||||
// {
|
||||
// authorId: "clx8pl7r90005su4mldioo0v1",
|
||||
// Donasi: {
|
||||
// id: "clyr304q0000410ljvzms3mag",
|
||||
// title: "Donasi Bencana Alam Aceh",
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// authorId: "clx8pl7r90005su4mldioo0v1",
|
||||
// Donasi: {
|
||||
// id: "clyr304q0000410ljvzms3mag",
|
||||
// title: "Donasi Bencana Alam Aceh",
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// authorId: "clycka5eu0001ina3i1ssgze9",
|
||||
// Donasi: {
|
||||
// id: "clyr304q0000410ljvzms3mag",
|
||||
// title: "Donasi Bencana Alam Aceh",
|
||||
// },
|
||||
// },
|
||||
// ];
|
||||
|
||||
// console.log(new Set(data.map((d) => d.authorId)));
|
||||
|
||||
// contoh error
|
||||
console.error("errornya disini klik aja",import.meta.url);
|
||||
console.log(new Set(data.map((d) => d.authorId)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user