the only purpose of the alias there is to connect the window to the scene's refresh loop so that it could automatically update as the actor's hp changed. other than that, itd have no impact on the window.
I stress this point
Had you not said that, id have never guessed thats actually what you did. When you mentioned it earlier, i thought you were sharing the name of the definition since it looked like it had parameter names and not actual arguments. Calling
Window_MyWindow.prototype.refresh() directly could only result in an error. Window_MyWindow is not an instance of a window. Its not ceated, wouldnt have any of the normal associated properties its instances would have gotten on creation, and would cause an error the second it has to access one.