DEV Community

Discussion on: 20 JavaScript One-Liners That Will Help You Code Like a Pro

Collapse
 
ovi profile image
Muhammad Ovi

Yeah, sometimes it's handy to just call a function to check, rather than doing Array.isArray(arr) you know.