For all the plugin makers: What is the best practice?

Hi there!
I'm making a plugin, and i have a doubt:

What is the best practice?
Code:
var _Elii_Game_Timer_update = Game_Timer.prototype.update;
    Game_Timer.prototype.update = function(sceneActive) {
        _Elii_Game_Timer_update.call(this, sceneActive);
                MY CODE STUFF HERE

or

Make my own function with the code and call it inside instead of putting the whle code.
Code:
var _Elii_Game_Timer_update = Game_Timer.prototype.update;
    Game_Timer.prototype.update = function(sceneActive) {
        _Elii_Game_Timer_update.call(this, sceneActive);
                $gameTimer.myFunction();

Or it is irrelevant?
Unless you're gonna call that extra function from a different place or readying it for future aliasing/overwriting possibilities (that will only be for your custom added code lines not for the aliased function), I don't see much sense in doing it.
For update function I always create a new function, so that the update function won't be overcrowded and it'll be easier to find stuff because you'll know what the code is doing just based on the function name alone.
The first option is simpler, the second option is more readable. I myself prefer the first one.
I always do the first one, unless that extra bit of code will be called somewhere else.
I usually go with the first version, if the code is not really long.
Thank you for all the answers!! ^^

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/for-all-the-plugin-makers-what-is-the-best-practice.108269/