var text = ', really'; var x = 10; while(x--) { confirm('Are you really' + text +' sure?'); text += ', really'; }