source:
frontend/node_modules/core-js-pure/internals/get-iterator-direct.js
| Last change on this file was 9af201e, checked in by , 13 days ago | |
|---|---|
|
|
| File size: 219 bytes | |
| Line | |
|---|---|
| 1 | 'use strict'; |
| 2 | // `GetIteratorDirect(obj)` abstract operation |
| 3 | // https://tc39.es/ecma262/#sec-getiteratordirect |
| 4 | module.exports = function (obj) { |
| 5 | return { |
| 6 | iterator: obj, |
| 7 | next: obj.next, |
| 8 | done: false |
| 9 | }; |
| 10 | }; |
Note:
See TracBrowser
for help on using the repository browser.
