UNPKG
look
Version:
latest (0.1.3)
0.1.3
0.1.2
0.1.0
0.0.4
0.0.3
0.0.2
0.0.1
Performance profiler based on nodetime
baryshev/look
look
/
lib
/
web
/
js
/
look
/
look.compatibility.js
7 lines
•
187 B
JavaScript
View Raw
1
2
3
4
5
6
7
if
(!
Array
.
prototype
.
forEach
) {
Array
.
prototype
.
forEach
=
function
(
fn, scope
) {
for
(
var
i =
0
, len =
this
.
length
; i < len; ++i) { fn.
call
(scope ||
this
,
this
[i], i,
this
); } } }