// removeChild is declared in ie_dom.js, w3c_dom.js and gecko_dom.js
(externs)
// and the same method name is used for goog.ui.Component,
goog.ui.Control and etc.
// see closure-compiler/externs/* to get full list of methods that
should not be used.
test.Test.prototype.removeChild = function() {
alert('Add child');
}
--------------------------------------------------------
After compilation:
--------------------------------------------------------
function a(){}a.prototype.removeChild=function(){alert("Add child")};
(new a).removeChild();
--------------------------------------------------------
Trying to rename removeChild:
--------------------------------------------------------