Skip to content
Advertisement

Update object values

I’m having trouble updating the score property. I’m fairly new but still feel crazy not being able to figure this out.

‘fight’ is a string

JavaScript

Advertisement

Answer

You can try:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement