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 e1cf9a3 commit aaea55eCopy full SHA for aaea55e
doc/object.md
@@ -23,12 +23,12 @@ Void Init(Env env) {
23
24
// Assign values to properties
25
obj.Set("hello", "world");
26
- obj.Set(42, "The Answer to Life, the Universe, and Everything");
+ obj.Set(uint32_t(42), "The Answer to Life, the Universe, and Everything");
27
obj.Set("Douglas Adams", true);
28
29
// Get properties
30
Value val1 = obj.Get("hello");
31
- Value val2 = obj.Get(42);
+ Value val2 = obj.Get(uint32_t(42));
32
Value val3 = obj.Get("Douglas Adams");
33
34
// Test if objects have properties.
0 commit comments