Thanks for your corrections, they mean a lot. These topics are new to me, so I was just skimming through them and believed that I will study them in detail whenever they come handy in my side projects. Thanks again!!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
it won't work as expected here. If you do
let name = "name"
it'll work. In other words, you can use variables with bracket notation.You can add, remove or change properties of the object. You can't reassign
const
:There's a shortcut for creating methods:
can be rewritten as:
why would you ever want to create an array like this?
Thanks for your corrections, they mean a lot. These topics are new to me, so I was just skimming through them and believed that I will study them in detail whenever they come handy in my side projects. Thanks again!!