isEqual function

This commit is contained in:
jjanzen 2025-02-10 17:41:49 -06:00
parent e4a321c410
commit f7f75ab9aa

View file

@ -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",
}); });