UNPKG

@virtualstate/examples

Version:
18 lines 478 B
import { h, createFragment } from "@virtualstate/fringe"; import { extendedIterable as i } from "iterable"; function* source() { yield 1; yield 2; yield 3; yield 4; yield 5; } function Iterable() { return (h(createFragment, null, i(source()) .skip(1) .take(3) .map(value => value * 5))); } export const _802_IterableFunction = h(Iterable, null); export const _802_URL = import.meta.url; //# sourceMappingURL=iterable-source.js.map