Sunday, September 15, 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

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...