5 lines
168 B
JavaScript
5 lines
168 B
JavaScript
function _iterableToArray(iter) {
|
|
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
|
|
}
|
|
|
|
module.exports = _iterableToArray; |