Useful Array Tricks

You’re better off using isArray to check for arrays rather than going the notoriously unreliable constructor property. :wink:

1 Like