First, thanks for sharing things. But, be precise, especially when you target beginners.
element names : keys, or accessor
element names
There is no such undefined size. The size is defined and it's 0.
Variable pet is an array, and you talk about object. Also, you are assigning a property on person and not on pet
Thank you for your valuable input, I'll update the article with your suggestions in mind <3
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
We're a place where coders share, stay up-to-date and grow their careers.
First, thanks for sharing things.
But, be precise, especially when you target beginners.
element names: keys, or accessorThere is no such undefined size. The size is defined and it's 0.
Variable pet is an array, and you talk about object.
Also, you are assigning a property on person and not on pet
Thank you for your valuable input, I'll update the article with your suggestions in mind <3