Looking for some guidance on extracting a specific value from a dictionary using Javascript. Here's the current code I'm working with:
query.find({
success: function(results) {
res.success(results);
}
After running the code, I get the following result:
{"result":[{"score":1337,"playerName":"Mr loba loba","cheatMode":false}]}
How can I extract and print only the value of the score?
Appreciate any help provided!