Changeset 0c6b92a for imaps-frontend/node_modules/es-iterator-helpers/test
- Timestamp:
- 12/12/24 17:06:06 (5 weeks ago)
- Branches:
- main
- Parents:
- d565449
- Location:
- imaps-frontend/node_modules/es-iterator-helpers/test
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-iterator-helpers/test/Iterator.from.js
rd565449 r0c6b92a 101 101 st.test('real iterators', { skip: !hasSymbols }, function (s2t) { 102 102 var iter = [][Symbol.iterator](); 103 s2t.equal(from(iter), iter, 'array iterator becomes itself'); 103 // eslint-disable-next-line no-proto 104 var arrayIterHasIterProto = hasProto && iter.__proto__.__proto__ !== Object.prototype; 105 s2t.equal( 106 from(iter), 107 iter, 108 'array iterator becomes itself', 109 { skip: !arrayIterHasIterProto && 'node 0.12 - 3 do not have Iterator.prototype in the proto chains' } 110 ); 104 111 105 112 s2t.end();
Note:
See TracChangeset
for help on using the changeset viewer.