mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-27 14:16:34 +00:00
11 lines
199 B
JavaScript
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;
|
||
|
};
|