Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shysolocup authored Mar 22, 2023
1 parent 41fc75d commit a2f0413
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* :: Stews :: Version 1.3.4 | 03/19/23 :: */
/* :: Stews :: Version 1.3.5 | 03/22/23 :: */

class Stew {
constructor(object, splitter='') {
Expand Down Expand Up @@ -63,7 +63,9 @@ class Stew {
delete this[entry];
return returns;
}
del(entry) { return this.delete(entry); }
remove(entry) { return this.delete(entry); }
rem(entry) { return this.delete(entry); }


// push
Expand Down Expand Up @@ -588,7 +590,9 @@ class Soup {
delete this[entry];
return returns;
}
del(entry) { return this.delete(entry); }
remove(entry) { return this.delete(entry); }
rem(entry) { return this.delete(entry); }


// push
Expand Down Expand Up @@ -962,6 +966,7 @@ class Soup {
}
}


// includesFor
includesFor(array) {
for (let i = 0; i < array.length; i++) {
Expand All @@ -971,6 +976,15 @@ class Soup {
}
hasFor(array) { return this.includesFor(array); }
containsFor(array) { return this.includesFor(array); }


// deleteDupes
deleteDupes() {
return Soup.from(Stew.from(this));
}
delDupes() { return this.deleteDupes(); }
removeDupes() { return this.deleteDupes(); }
remDupes() { return this.deleteDupes(); }
}

function SoapProxyHandler() { return {
Expand Down

0 comments on commit a2f0413

Please sign in to comment.