Skip to content

Instantly share code, notes, and snippets.

View dexturr's full-sized avatar
👋
^🧘‍♂️ 🥓 👨🏻‍💻 (🏃‍♂️ | 🏊‍♂️ | 🏋️‍♀️ ){2} 🍔 👨🏻‍💻 🧗‍♂️ ?🍜 ( 👨🏻‍💻 | 📺 )+😴$

Dexter Edwards dexturr

👋
^🧘‍♂️ 🥓 👨🏻‍💻 (🏃‍♂️ | 🏊‍♂️ | 🏋️‍♀️ ){2} 🍔 👨🏻‍💻 🧗‍♂️ ?🍜 ( 👨🏻‍💻 | 📺 )+😴$
View GitHub Profile

1. What is the output of below code

const props = [
  { id: 1, name: 'John' },
  { id: 2, name: 'Jack' },
  { id: 3, name: 'Tom' }
]

const [, , { name }] = props

Keybase proof

I hereby claim:

  • I am dexturr on github.
  • I am dexturr (https://keybase.io/dexturr) on keybase.
  • I have a public key ASCtjCHYVae5KFXucG7wM0ZsFz8N0xH7ZpZac6TA4I25WAo

To claim this, I am signing this object: