Normally Javascript minification does not change function names, and you can use them without worry. Javascript minification usually removes empty-spaces, new-line characters, shortens local variable names, shortens function parameter names.
Though you might get in trouble if your code uses eval statements which are referencing variables defined in its scope of access. Some minifier do not touch eval statements, which can be a bit problematic if the names of variables referenced by eval had been minified by the tool.
For example, following Javascript code block can be minified as following:
Source JS:
function eval_test(var_1, var_2) {
var_1 = "Updated var_1";
var_2 = "Updated var_2";
var a = eval("var_1 * var_2") + "<br>";
}
Minified JS:
function MyFunction(n,t){n="Updated var_1";t="Updated var_2";
var i=eval("var_1 * var_2")+"<br>"}
In this example the eval call will break after minification, because parameters var_1, var_2 of function eval_test are minified to n and t respectively. But the eval statement is still unchanged.
Still, some minfication tools do not minify parameter/variable names, in such a case eval statement will work perfectly fine. But keeping unminified parameter/variable names negatively affects the minification, because your code might not be as compressed/minified as it should.
You can try following online minification tools to test and verify minified output:
http://utilninja.com/Computing/JavascriptMinifier
https://javascript-minifier.com/
https://jscompress.com/