"use strict";
//
var digui2 = digui;
//
digui = null;
digui2(10); //
function digui(num) {
if (num < 2) {
return 1;
} else {
return num * digui(num - 1);
}
}
I know that arguments.callee can be used instead of function names, but the problem is that our project is in strict mode.
arguments.callee cannot be used in strict mode.
is there any other way?