98
rated 0 times
[
99]
[
1]
/ answers: 1 / hits: 17048
/ 5 Years ago, sun, november 3, 2019, 12:00:00
I have this object:
const obj = {
thing: 5,
layer: {
otherThing: obj.thing - 2
}
}
error:
ReferenceError: Cannot access 'obj' before initialization
I tried to use this
but it didn't work as expected.
More From » node.js