Menu
Hello. I am trying to create an object. Now when I try to assign a value to a property using another property of the object, javascript creates errors.
[code=php]var math={
four:2*2,
six:(polo.four)*3,
}
alert(math.six)
I am getting math is undefined error. It is certainly about [B]polo.four
Thanks