In JavaScript, you can’t use the dot notation when a parameter starts with a number.
You can solve this by using the bracket notation.
1 Like
Adding some examples to what Marianne has sent above.
Something like this would fail in JS
const example = {
24hVolume: 222
}
example.24hVolume = 223;
But this would work
const example = {
"24hVolume": 222
}
example["24hVolume"] = 223;
3 Likes
Awesome, thank you Fred!
2 Likes