diff --git a/index.html b/index.html index f38ffa8ab..d8b8c0dcd 100644 --- a/index.html +++ b/index.html @@ -1061,10 +1061,10 @@ _.clone({name : 'moe'});
_.chain([1,2,3,200])
.filter(function(num) { return num % 2 == 0; })
- .tap(console.log)
+ .tap(alert)
.map(function(num) { return num * num })
.value();
-=> [2, 200]
+=> // [2, 200] (alerted)
=> [4, 40000]