IOTConnect-Web/node_modules/es6-set/ext/get-last.js
2024-05-09 09:49:52 +08:00

11 lines
199 B
JavaScript

"use strict";
module.exports = function () {
var value, iterator = this.values(), item = iterator.next();
while (!item.done) {
value = item.value;
item = iterator.next();
}
return value;
};