Skip to content

Commit 39508bd

Browse files
authored
fix API documentation for readProperty (#1345)
1 parent 6cbbdb3 commit 39508bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

API.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,8 @@ Here we use the await functionality of Node.js.
278278

279279
```javascript
280280
let read1 = await thing.readProperty("count");
281-
console.info("count value is", read1);
281+
let value = await read1.value();
282+
console.info("count value is", value);
282283
```
283284

284285
##### Set the value of a Property or a set of properties

0 commit comments

Comments
 (0)