JS tip: Create debug friendly unique references using String
Recently I've been facing a case where I needed to create some unique references.
I was creating a JS API and needed to maintain some internal state relative to elements created by the API.
dev.to