I was about to comment with the same when I saw this has already been suggested :)
One more cool little enhancement will allow you to adhere to immutability principle (that is if you'd like to prevent anyone from changing your object properties somewhere in the code later):
As a solution-oriented developer, I am a lifelong learner, JavaScript and Swift lover. I'm passionate about creating new things and am motivated by the opportunity to positively impact people's lives.
I was about to comment with the same when I saw this has already been suggested :)
One more cool little enhancement will allow you to adhere to immutability principle (that is if you'd like to prevent anyone from changing your object properties somewhere in the code later):
From now on your object literal is readonly.
hey man thanks for the comment :D