Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Hardik Pithva hardikpthv

🏠
Working from home
View GitHub Profile
@hardikpthv
hardikpthv / object-destructuring-snippet-1.js
Last active Sep 20, 2018
Object Destructuring even better with ES2018
View object-destructuring-snippet-1.js
const hero = {
id: 1,
name: "Thor",
powers: [
"Teleportation",
"Master Combatant",
"Superhuman Stamina",
"Self-sustenance"
],
weapon: "Mjolnir",