Stupid question

if i do

var cur = this.getchildbyname(“whatever”);
removeChild(cur);
cur = null;

is that going to null the var cur, or the var cur represents??? how would I null that var as well if it doesn’t… thanks…