source:
trip-planner-front/node_modules/core-js/internals/iterator-close.js@
fa375fe
Last change on this file since fa375fe was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 230 bytes |
Line | |
---|---|
1 | var anObject = require('../internals/an-object'); |
2 | |
3 | module.exports = function (iterator) { |
4 | var returnMethod = iterator['return']; |
5 | if (returnMethod !== undefined) { |
6 | return anObject(returnMethod.call(iterator)).value; |
7 | } |
8 | }; |
Note:
See TracBrowser
for help on using the repository browser.