MOHAMED MOUROUH Posted on Aug 26, 2024 Today's Javascript Tip: Dynamic Object Keys #javascript #web #code #frontend This technique allows us to create object properties dynamically. Top comments (3) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand Alex Mustiere Alex Mustiere Alex Mustiere Follow Joined Dec 16, 2020 • Aug 27 '24 Dropdown menu Copy link Hide Report abuse You can also use const user = {}; user[[key]] = 'Alice'; Enter fullscreen mode Exit fullscreen mode Collapse Expand MOHAMED MOUROUH MOHAMED MOUROUH MOHAMED MOUROUH Follow Hi 👋, I'm a software engineer. I turn ideas into a stunning digital reality. Location CASABLANCA , MOROCCO Education ENSET Pronouns He Work Software Engineer Joined Jun 6, 2020 • Aug 27 '24 Dropdown menu Copy link Hide Report abuse Thank you sir Collapse Expand NameSilo NameSilo NameSilo Follow NameSilo is an affordable domain registrar, delivering free WHOIS privacy and a user-friendly platform with no hidden fees. Location Phoenix, Arizona Joined Aug 26, 2024 • Aug 27 '24 Dropdown menu Copy link Hide Report abuse Great! Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (3)
You can also use
Thank you sir
Great!