Skip to content

Instantly share code, notes, and snippets.

Anthony Hollis HollisAnthony

Block or report user

Report or block HollisAnthony

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
HollisAnthony / nativeJavaScript.js
Created Sep 16, 2019 — forked from alexhawkins/nativeJavaScript.js
Implementation of Native JavaScript Methods (forEach, Map, Filter, Reduce, Every, Some)
View nativeJavaScript.js
'use strict';
/*****************NATIVE forEACH*********************/
Array.prototype.myEach = function(callback) {
for (var i = 0; i < this.length; i++)
callback(this[i], i, this);
You can’t perform that action at this time.