Is there a better way to write this code? i tried function(){}(); but i got an error so i had to use DUMMY as a placeholder var. The function should run before alert b does. Whats a better way of writing this?
var DUMMY = function(){
var names = "i dont want to be seen";
alert('A');
}; DUMMY();
alert('B');