title: Random alphanumeric string in JavaScript
body: <p>I have to generate random alphanumeric sting in JavaScript like A123B456 or B001A556 (upper case letter, three numbers from 0-9, upper case letter, three numbers from 0-9).
  This code should be randomly generated and should be unique. 
  Any idea is appreciated.</p>