Skip to content

Commit

Permalink
docs: Rebuilt readme with tldw
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaid committed Jan 12, 2020
1 parent 1b82fc9 commit 8907cf8
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,6 @@ yarn add array-to-object-keys@^1.3.5
```
## Try it out
Open a browser's JavaScript console and execute:
```javascript
const scriptElement = document.createElement("script");
scriptElement.setAttribute("type", "text/javascript");
scriptElement.setAttribute("src", "https://cdn.jsdelivr.net/npm/array-to-object-keys@1.3.5/index.js");
document.querySelector("head").appendChild(scriptElement);
```
array-to-object-keys is now stored in the global variable `arrayToObjectKeys`. The following console expression should return something other than `"undefined"`.
```javascript
typeof arrayToObjectKeys.default
```
Expand Down

0 comments on commit 8907cf8

Please sign in to comment.