9 lines
257 B
JavaScript
9 lines
257 B
JavaScript
|
"use strict";
|
||
|
|
||
|
exports._ = exports._iterable_to_array = _iterable_to_array;
|
||
|
function _iterable_to_array(iter) {
|
||
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
||
|
return Array.from(iter);
|
||
|
}
|
||
|
}
|