swc_ecma_compat_es2015Function function_name
source pub fn function_name() -> impl Pass
Expand description
@babel/plugin-transform-function-name
§Example
var number = function (x) {
return x;
};
var Foo = (class {});
§Out
var number = function number(x) {
return x;
}
var Foo = (class Foo {});