Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

a little bit better doc for the forEach function

  • Loading branch information...
commit e49d3fcda3a84b557f6bcba956f69d988ef5daac 1 parent 9772c29
@jcompagner jcompagner authored
View
2  plugins/org.eclipse.dltk.javascript.core/resources/native-references.xml
@@ -204,7 +204,7 @@
<itemType xsi:type="ref:TypeVariableReference" variable="@ROOT/Array/E"/>
</type>
</members>
- <members xsi:type="ref:Method" name="forEach" description="Calls a function for each element in the array. Optionally with a thisObject argument to use as this when executing callback.">
+ <members xsi:type="ref:Method" name="forEach" description="Calls a function for each element in the array. The callback will be called with 3 arguments (elementValue,elementIndex,traversedArray). Optionally with a thisObject argument to use as this when executing callback.">
<parameters name="callback" directType="Function"/>
<parameters name="thisArg" kind="OPTIONAL"/>
</members>
Please sign in to comment.
Something went wrong with that request. Please try again.