How to Override js function in erpnext v9

Hello Krithi,

where did you put this code?
I mean create a New and separate application?
you have to put the code in public directory ( for ex : public=>js=> file.js ) and also add the path of that file in hooks.py. (app_include_js)

Thanks