When I do a select with the JavaScript library it ...
# javascript
j
When I do a select with the JavaScript library it returns a
data
and a
body
property with exactly the same values in it. What's the reason for this?
s
This is likely due to backwards compatibility, If I remember correctly in earlier releases of the library we would get the
body
back
j
So that means that I should use data since it's more likely that body gets removed at some point?
s
Yes use
data
j
Thanks