Closed partha0103 closed 6 years ago
well, it's the same method actually: duck typing... it has the same pros and cons. I don't see any reason to include it to the book actually.
I found that this method is not suitable to check if an array is a object or not as an object can have a length property also.
{ length: 7 }
Yeah, that's my point. So, abandoning the request.
well, it's the same method actually: duck typing... it has the same pros and cons. I don't see any reason to include it to the book actually.