SOURCE

var factorial = (function f(num){
  if(num<=1){
    return 1;
  }else{
    return num * f(num-1);
  }
})
var anotherFactorial = factorial;
factorial = null;
console.log(anotherFactorial(5))
console 命令行工具 X clear

                    
>
console