From 4a89d6ee9a564195ff1d8cc99eaa54c4281aa180 Mon Sep 17 00:00:00 2001 From: anr-m Date: Wed, 10 Jun 2020 17:58:38 +0600 Subject: [PATCH] Add example description to get.js --- subjects/get.en.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/subjects/get.en.md b/subjects/get.en.md index 235945cc..d9ebc33e 100644 --- a/subjects/get.en.md +++ b/subjects/get.en.md @@ -7,4 +7,11 @@ It takes 2 arguments: - `src` an object - `path` a string -And returns the value at the given string path. \ No newline at end of file +And returns the value at the given string path. + +### Example: +` +src: {nested: {key: 'peekaboo'}} +path: 'nested.key' +get(src, path) = 'peekaboo' +`