how can i purposely leave a variable blank
|
|
hi, i'm using a script that has a variable like this: var names = /name1|name2/ig; what i would like to do is remove name1 and name2 and just have
if i put
how can i have the variable be nothing and still have the script function? thanks |
|
|
Just simply put |
|
|
var names=null; |
|
|
just to remind... there are some differences between undefined and null variables |
