Is it possible to unset a variable?

Say I have an object

o = { foo : "Bar" }

If I call

o.foo = null

then

o.hasOwnProperty("foo") == true

How do I make it return false (ie unset o.foo)? Can it be done without
copying the object?

Thanks in advance,
-Josh

-- 
"Therefore, send not to know For whom the bell tolls, It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to