We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9efae05 commit 6e2a85aCopy full SHA for 6e2a85a
_includes/js/objects.md
@@ -249,6 +249,12 @@ var playerName = gameScore.get("playerName");
249
var cheatMode = gameScore.get("cheatMode");
250
```
251
252
+Alternatively, the `attributes` property of the `Parse.Object` can be treated as a Javascript object, and even destructured.
253
+
254
+```javascript
255
+const { score, playerName, cheatMode } = result.attributes;
256
+```
257
258
The four special reserved values are provided as properties and cannot be retrieved using the 'get' method nor modified with the 'set' method:
259
260
```javascript
0 commit comments