SeaUrchinBot / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

API documentation lists incorrect parameters #616

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?

Go to 
http://docs.closure-library.googlecode.com/git/closure_goog_array_array.js.html

What is the expected output? What do you see instead?

The function signature for goog.array.forEach is displayed as:
goog.array.forEach(arr, arr, arr, f, f, f, opt_obj, opt_obj, opt_obj)

Unless I'm missing something, it should be:
goog.array.forEach(arr, f, opt_obj)

If this is the expected documentation, it is very confusing and should be 
explained.

What version of the product are you using? On what operating system?

Viewing the documentation in Chrome on Ubuntu. 

Original issue reported on code.google.com by alexande...@google.com on 17 Dec 2013 at 12:46

GoogleCodeExporter commented 9 years ago

Original comment by Nicholas.J.Santos on 17 Dec 2013 at 2:37