Created
December 23, 2018 16:04
-
-
Save chris-sev/9f0782a5d307efbabe1869bdea72c443 to your computer and use it in GitHub Desktop.
Checking a Value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const names = ['Pete', 'John', 'Mary']; | |
const isArray = Array.isArray(names); | |
console.log(isArray); // true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment