4 ms·
First point - this is not a QA site - so Stackexchange is the goto place. You could experiment with the typeof operator - which will return "object" for an arr
by bdfh42 14y ago
First point - this is not a QA site - so Stackexchange is the goto place.
You could experiment with the typeof operator - which will return "object" for an array. Then if there was still doubt you could play with the instanceof operator.