Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
client.json_get("players", function (err, results) {
const currentplayers = Object.values(JSON.parse(results))
currentplayers.forEach(function (item, index){
playernames.push(item.name)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment