Skip to content

Instantly share code, notes, and snippets.

Avatar

Feifei Hang hufyhang

View GitHub Profile
@hufyhang
hufyhang / forEach.js
Created Dec 27, 2015
JavaScript Array.prototype.forEach Polyfill
View forEach.js
/*
* forEach Polyfill
*
* 2015-12-27
*
* By Feifei Hang, http://feifeihang.info
* Public Domain.
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
*/
'use strict';
View object-watch.js
/*
* Object.watch shim
*
* 2015-12-26
*
* By Feifei Hang, http://feifeihang.info
* Public Domain.
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
*/