javascsript generate random id code example Example: js random id Math.random().toString(36).slice(2);