1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× | 'use strict'; var Record = require('./record'); module.exports = Records; var records = Records.prototype; function Records(records) { this._records = records; } records.hasNext = function () { return this._records.hasNext(); }; records.next = function () { var record = this._records.next(); return new Record(record); }; |