Image

deleting properties from an object

Does anyone know if it's possible to remove a property from an object?


var hello = new Object();

hello.one = '1';
hello.two = '2';
hello.three = '3';

/* do something to remove hello.one */

var h = new String();
for (var i in hello)
h += i + ' ';
alert(h);



This will issue an alert: "one two three". What can I do at the point where the comment is, to remove hello.one, so that the alert reads "two three"?