Sha256: 4100fabfd9658034099fa7c248d8a6a1c0601b8241d4d3612269c5355d0f6f5c
Contents?: true
Size: 389 Bytes
Versions: 62
Compression:
Stored size: 389 Bytes
Contents
/* */ 'use strict'; var $ = require('./$'), IteratorPrototype = {}; require('./$.hide')(IteratorPrototype, require('./$.wks')('iterator'), function() { return this; }); module.exports = function(Constructor, NAME, next) { Constructor.prototype = $.create(IteratorPrototype, {next: require('./$.property-desc')(1, next)}); require('./$.tag')(Constructor, NAME + ' Iterator'); };
Version data entries
62 entries across 31 versions & 1 rubygems