Facebook
From 123, 5 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 155
  1. function makeid() {
  2.   var text = "";
  3.   var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
  4.  
  5.   for (var i = 0; i < 8; i++)
  6.     text += possible.charAt(Math.floor(Math.random() * possible.length));
  7.  
  8.   return text;
  9. }
  10. x ="{"
  11. for(var i=0; i<1000; i++){
  12. x+= '"'+makeid()+'",'}
  13. x+="}";