Gre*_*ill 6

你可以像这样声明一个命名函数:

function always_false() { return false; }
Run Code Online (Sandbox Code Playgroud)

然后使用always_false()以前创建匿名函数的任何地方.