Tuesday, 17 May 2016

javascript - which is the best method used for checking isarray

I want to check a variable is it array?



which is the best method used for this to get better performance.




isArray



or



instanceof

No comments:

Post a Comment