isEqual function
This commit is contained in:
parent
e4a321c410
commit
f7f75ab9aa
1 changed files with 1 additions and 2 deletions
|
@ -7,8 +7,7 @@ function load_random_site() {
|
||||||
const entries = obj; // TODO: remove myself from the list
|
const entries = obj; // TODO: remove myself from the list
|
||||||
const entries_cleaned = obj.filter((item) => {
|
const entries_cleaned = obj.filter((item) => {
|
||||||
console.log(item);
|
console.log(item);
|
||||||
return true;
|
return !item.isEqual({
|
||||||
return !item.is({
|
|
||||||
name: "jjanzen's website",
|
name: "jjanzen's website",
|
||||||
url: "https://jjanzen.ca",
|
url: "https://jjanzen.ca",
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue