In the Svelte tutorial (and the MDN one), creating a custom store partly uses this expression:
function createCount() { const { subscribe, set, update } = w