Skip to content

Commit

Permalink
doc: change order for jsr to understand it
Browse files Browse the repository at this point in the history
  • Loading branch information
barelyhuman committed Mar 16, 2024
1 parent 55c9d01 commit 4f3b8db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* This allows you to either get the nested value
* or return a default value if a nothing is found
*
* ```js
* ```
* const value = get({a:1},"a") //=> 1
* const value = get({a:1},"b") //=> undefined
* const value = get({a:1},"b",2) //=> 2
Expand Down
2 changes: 1 addition & 1 deletion src/set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* walker to set the value of deeply nested inside
* the object, this modifies the original object
* so use it carefully
* ```js
* ```
* const obj = {a:1}
* set(obj,"b",10)
* get(obj,"b") //=> 10
Expand Down

0 comments on commit 4f3b8db

Please sign in to comment.