IntermediateVocabulary#javascript-typescript#developer-tools#backend

Duck Typing Vocabulary

Learn the vocabulary of accepting any object that has the right methods, regardless of its declared type.

0 / 5 completed
1 / 5
At standup, a dev mentions passing an object into a function that never checks its declared type, only calling whichever methods it expects that object to have, and it works fine as long as the object actually implements those methods. What is this approach called?