Browse Source

Add example description to get.js

content-update
anr-m 4 years ago committed by Clément
parent
commit
4a89d6ee9a
  1. 7
      subjects/get.en.md

7
subjects/get.en.md

@ -8,3 +8,10 @@ It takes 2 arguments:
- `path` a string
And returns the value at the given string path.
### Example:
`
src: {nested: {key: 'peekaboo'}}
path: 'nested.key'
get(src, path) = 'peekaboo'
`

Loading…
Cancel
Save