how to create a unique id with javascript time code example Example: js random id Math.random().toString(36).slice(2);