Comment

Comment by dorianmariefr

JavaScript has that with:

    const hello = ({ for: person }) => `Hello ${person}`

    hello({ for: "Dorian" })

    'Hello Dorian'

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton