MCPcopy Index your code
hub / github.com/hoothin/UserScripts / each

Function each

FlashViewer-HTML5 Video/flashViewer.user.js:634–638  ·  view source on GitHub ↗
(elems, fn)

Source from the content-addressed store, hash-verified

632
633 // 遍历类数组
634 function each(elems, fn) {
635 [].forEach.call(elems, function (elem, index) {
636 fn.call(elem);
637 });
638 };
639
640 init.prototype = {
641

Callers 2

initFunction · 0.85
contentScriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected