Hacker News new | ask | show | jobs
by lights0123 875 days ago

    {name, age}
does the same in modern JS, assigning the variable to the key with the same name.