public interface NumericForEachCallback
ForEachCallback
but ensure the result is treated as a numeric double.double forEach(Object thisArg, Value element, int index, Array<?> array)
If a thisArg parameter is provided to Array#forEach(NumericForEachCallback, Object)
, it will be used as
the thisArg parameter for each callback invocation.
If thisArg is undefined or null, the this value within the function depends on whether the function is in strict mode or not (passed value if in strict mode, global object if in non-strict mode).
thisArg
- element
- index
- array
- https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/forEach
Copyright © 2015 gwt-d3. All rights reserved.