Last active
October 16, 2015 14:13
-
-
Save xhoskin/8d539ed25e12b87d170e to your computer and use it in GitHub Desktop.
Проверить на массив - Check if a variable is an array in JavaScript
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
[].constructor === Array | |
// http://stackoverflow.com/questions/767486/how-do-you-check-if-a-variable-is-an-array-in-javascript |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment