Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
otomer authored Nov 12, 2019
1 parent 616695c commit 234c129
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1363,6 +1363,15 @@ function isArray(value) {

```
**Method 5:**
You check if a given value is an `instanceof Array`:
```javascript
function isArray(value) {
return value instanceof Array;
}
```
## Question 37. Best way to detect reference values of any type in JavaScript ?
Expand Down

0 comments on commit 234c129

Please sign in to comment.