R
RJ
I am having a terrible time getting the following code to work:
var foo = {
bar : "bar",
fooTwo : {
bar : foo.bar
}
}
When this code runs, I am told that foo.bar does not exist in line 4. Why am
I getting this error?
var foo = {
bar : "bar",
fooTwo : {
bar : foo.bar
}
}
When this code runs, I am told that foo.bar does not exist in line 4. Why am
I getting this error?