strom/samples/last.js
2020-08-05 19:08:13 -04:00

8 lines
161 B
JavaScript

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