DEV Community

MOHAMED MOUROUH
MOHAMED MOUROUH

Posted on

Object Property Shorthand: When the property name and variable name are the same, you can omit the value.

Image description

Top comments (1)

Collapse
 
simeondee profile image
Adedoyin Simeon

Short and helpful. Saves a lot of typing