How do we achieve this reference to the same object, if at all possible?
player = {
"atk": 24,
"hp": 343,
"spd": 104,
"tick": (player.spd * 0.12).toFixed(2),
}
I tried with this
but doesnt work. Or just I used wrong way.
written on Javascript or jQuery