document.querySelector('#element')['something'] = 'whatever'
What am I achieving by setting some sort of invisible attribute on the element? Is there any documentation on this?
I played around with it, confirmed that I can retrieve the value later and now I'm wondering is how useful it is and how reliable it is.