wallet-core/node_modules/es6-set/ext/get-last.js

12 lines
199 B
JavaScript
Raw Normal View History

2017-08-14 05:01:11 +02:00
'use strict';
module.exports = function () {
var value, iterator = this.values(), item;
while (true) {
item = iterator.next();
if (item.done) break;
value = item.value;
}
return value;
};