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 baa1aee commit 67a8ceaCopy full SHA for 67a8cea
1 file changed
docs/release-source/release/sandbox.md
@@ -190,9 +190,7 @@ Defines the `property` on `object` with the value `value`. Attempts to define an
190
```js
191
var myObject = {};
192
193
-sandbox.define(myObject, "myValue", function () {
194
- return "blackberry";
195
-});
+sandbox.define(myObject, "myValue", "blackberry");
196
197
sandbox.define(myObject, "myMethod", function () {
198
return "strawberry";
0 commit comments