MCPcopy
hub / github.com/SeleniumHQ/selenium / _iterableToArray

Function _iterableToArray

third_party/js/qunit/qunit.js:85–87  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

83 };
84 }
85 function _iterableToArray(r) {
86 if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
87 }
88 function _iterableToArrayLimit(r, l) {
89 var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
90 if (null != t) {

Callers 1

_toConsumableArrayFunction · 0.85

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected