Skip to content

Instantly share code, notes, and snippets.

View shihKaiHung's full-sized avatar

shih shihKaiHung

  • Taiwan
View GitHub Profile
@alexhawkins
alexhawkins / nativeJavaScript.js
Last active June 8, 2026 07:14
Implementation of Native JavaScript Methods (forEach, Map, Filter, Reduce, Every, Some)
'use strict';
/*****************NATIVE forEACH*********************/
Array.prototype.myEach = function(callback) {
for (var i = 0; i < this.length; i++)
callback(this[i], i, this);
};
//tests
@staltz
staltz / introrx.md
Last active August 6, 2026 06:30
The introduction to Reactive Programming you've been missing