Skip to content

Instantly share code, notes, and snippets.

@mtlynch3
Created June 3, 2021 21:43
Show Gist options
  • Save mtlynch3/052aade2ba7e913b45bb740c7d2f505b to your computer and use it in GitHub Desktop.
Save mtlynch3/052aade2ba7e913b45bb740c7d2f505b to your computer and use it in GitHub Desktop.
// FOR EACH //
Array.prototype.myEach = function() {
};
// MAP //
Array.prototype.myMap = function() {
};
// FILTER //
Array.prototype.myFilter = function() {
};
// SOME //
Array.prototype.mySome = function() {
};
// EVERY //
Array.prototype.myEvery = function() {
};
// REDUCE //
Array.prototype.myReduce = function() {
};
// INCLUDES //
Array.prototype.myIncludes = function() {
};
// INDEXOF //
Array.prototype.myIndexOf = function() {
};
// PUSH //
Array.prototype.myPush = function() {
};
// LASTINDEXOF //
Array.prototype.myLastIndexOf = function() {
};
// KEYS //
Object.grabKeys = function() {
};
// VALUES //
Object.grabValues = function() {
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment