var b = 'Jason'; if(1===1){ b = 'another name'; } console.log(b);