You might not be able to totally rename the prototype, but you should be able to do:
Graphics. prototype.fillRect2 = Graphics. prototype.fillRect; Graphics. prototype.fillRect = ...;
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
You might not be able to totally rename the prototype, but you should be able to do: