I am using tracemonkey and want to set a variable as undefined using
the following script :
var a;
After this script is evaluated , when I check the value of variable a
by JS_ExecuteScript , I get the value as -121212 (some garbage)
instead of undefined.
The same works perfectly well with spidermonkey. Is there any
difference in the implementation of undefined variables in
spidermonkey and tracemonkey. Or am I missing something here?
Regards,
Sharad kumar singh
Shouldn't this work?
a=undefined