Ahoi community,
Is there a possibility to define an alias for the javascript keyword "Function"?
var f = Function; // define Function alias
var foobar = f() // write 'f' as replacement for 'function'
{
console.log("foobar")
};
foobar();
Functionis not a keyword, it's the name of a function.var.functionis a javascript reserved keyword.function!=Function