I defined an array like
let a = [4,5,6]
then I attached a property to a like
a.stuff = 'hi'
For some reason, there is no error and if I stringify in html tags it doesn't show the stuff property but it does show in the browser console.
What kind of data type is it now? An array or some kind of hybrid? Is it good practice to do things this way? Why doesn't the stuff property show in html tags?