strom/samples/last.js
2020-07-04 11:06:41 -04:00

8 lines
167 B
JavaScript

const strom = require("strom").strom();
let f = async () => {
const source = strom.fromArray(["a", "b", "c"]);
console.log(await strom.last(source));
};
f();