diff options
author | koichik <koichik@improvement.jp> | 2011-07-13 19:10:17 +0400 |
---|---|---|
committer | koichik <koichik@improvement.jp> | 2011-07-13 19:10:17 +0400 |
commit | 701ae3c995a77160aeab19ba83ea3095f268f7bc (patch) | |
tree | a5feb7c08324bf6ea9530aff042d3066289d3c2f /doc | |
parent | 8cc9ac0df2859fa53592d77d47454e4797010e87 (diff) |
Document error in console.timeEnd
Fixes #1109.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/stdio.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/stdio.markdown b/doc/api/stdio.markdown index a24d0572c63..d4153934e45 100644 --- a/doc/api/stdio.markdown +++ b/doc/api/stdio.markdown @@ -35,7 +35,7 @@ Mark a time. Finish timer, record output. Example console.time('100-elements'); - while (var i = 0; i < 100; i++) { + for (var i = 0; i < 100; i++) { ; } console.timeEnd('100-elements'); |