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_cleaned = obj.filter((item) => {
|
||||
console.log(item);
|
||||
return true;
|
||||
return !item.is({
|
||||
return !item.isEqual({
|
||||
name: "jjanzen's website",
|
||||
url: "https://jjanzen.ca",
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue