[Solved] Basic Java Initialize concept [closed]


If you didn’t initialize you wouldn’t be able to access the objects property (Because it would be undefined).

var test = {
    definedProperty : "Hello"
};

alert(test.definedProperty);
alert(test.undefinedProperty);

http://jsfiddle.net/3cWzw/

1

solved Basic Java Initialize concept [closed]