Monday, January 28, 2019

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