UNPKG

@antv/f2

Version:

Charts for mobile visualization.

17 lines 462 B
import _createForOfIteratorHelper from "@babel/runtime/helpers/esm/createForOfIteratorHelper"; export default function (callback, that) { var index = -1; var _iterator = _createForOfIteratorHelper(this), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var node = _step.value; callback.call(that, node, ++index, this); } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } return this; }