
JSJ 471: Things Every JavaScript Developer Must Know - Part 3
JavaScript Jabber
00:00
JavaScript Type Checker and Duct Typing
JavaScript developers need to understand the concept of duct typing. It doesn't really matter so much how you got that property, whether it was directly added on your object or if you're using classes. You can get into trouble if you then pass something to something and it expects a certain behavior but then gets something else. That would be implicit coercion.
Play episode from 04:58
Transcript


