1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Fix the commented output

This commit is contained in:
jbranchaud
2019-01-15 14:05:11 -06:00
parent 6820848bc5
commit 07a29d80cf

View File

@@ -20,8 +20,8 @@ This `get` function can then be used like so.
```javascript
const stuff = { a: 1, b: 2, c: 3 };
console.log("Get a:", get("a", stuff)); // 1
console.log("Get d:", get("d", stuff)); // undefined
console.log("Get a:", get("a", stuff)); // Get a: 1
console.log("Get d:", get("d", stuff)); // Get d: undefined
```
h/t