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 c18d8e1 commit 8bb4ea4Copy full SHA for 8bb4ea4
src/index.js
@@ -22,9 +22,11 @@ console.log(drink.getDrinkDetails());
22
23
// logging properties uses the key
24
console.log(drink['complex property']);
25
+console.log(drink.name);
26
27
/**
28
* KV Pairs are stored like 'key': 'value' so both works
29
* the use of the space requires the '' within the key
- * logging properties uses the key
30
+ * logging complex properties uses the key
31
+ * logging simple keys can use the key or dot notation
32
*/
0 commit comments