How can I create unique IDs with JavaScript?

var id = "id" + Math.random().toString(16).slice(2)

Leave a Comment