After reading this post, http://mcc.id.au/2013/lca-webidl/
I have some questions in the page 20,
What happens when you pass too many/few arguments.
What happens when you grab a Function corresponding to an IDL operation and apply it to some other type of object.
How interface inheritance corresponds to a prototype chain.
How DOM objects are stringified.
Can anyone give a specific explanation or example to these points.
Thanks
document.getElementsByTagName("a", "b"). If you pass too few, you get an exception:document.getElementsByTagName().document.getElementsByTagName.call(document.body, "div")for example.interface Foo : Bar { };thenObject.getPrototypeOf(Foo.prototype) === Bar.prototype. So for example, the prototype ofHTMLElement.prototypeisElement.prototype.HTMLAnchorElement) are stringified however the relevant specification defines them to be. All other objects become "[object MostDerivedInterfaceName]".