Javascript isn't even duck-typed it simply tries to ignore type as much as possible by taking the remarkably egalitarian attitude that (nearly) everything is an object. The first thing to get straight ...