Override javascript functions in frappe version 5

Is there anyway I can override the frappe’s javascript functions if I create my own app?

Yeah add yours to the build.json for the file you want to override.