jQuery membuat variabel baru dengan nama dinamis

var vars = {};
var newCount = 0;

$('.hello').click(function(){
    newCount++;
    vars['hello' + newCount] = '<p>Hello World</p>';
    console.log( JSON.stringify(vars) );
}); 
Wide-eyed Walrus