2020-07-04 15:06:41 +00:00
|
|
|
const strom = require("strom").strom();
|
2018-12-04 06:30:38 +00:00
|
|
|
|
|
|
|
let f = async () => {
|
2020-07-04 04:08:31 +00:00
|
|
|
const source = strom.fromArray(["a", "b", "c"]);
|
|
|
|
console.log(await strom.last(source));
|
2018-12-04 06:30:38 +00:00
|
|
|
};
|
|
|
|
f();
|