8
The second link gives an example of a duck-typing-like pattern in js. Not saying I recommend doing this, but... well, you asked for it. ;)
In computer programming with
object-oriented programming languages,
duck typing is a style of dynamic
typing in which an object's current
set of m...