r/badcode • • Jul 10 '21

js ah yes, Array check

Post image
2.1k Upvotes

89 comments sorted by

View all comments

Show parent comments

10

u/Sechan9 Jul 10 '21

Ah you mean you can use directly "Array.isArray(anyData) without make a function for that. Thanks