Anonymous user
Respond to an unknown method call: Difference between revisions
Respond to an unknown method call (view source)
Revision as of 11:31, 30 October 2009
, 14 years ago→{{header|JavaScript}}: Clean up the wording...
m (→{{header|JavaScript}}: Clean up the wording...) |
|||
Line 41:
=={{header|JavaScript}}==
There is no standard way to do this, but some implementations provide suitable traps.<br>
{{works with|Firefox}}
<lang javascript>var example = new Object;
example.foo = function () {
|