mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-23 20:26:28 +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;
|
||
|
};
|