var a = function b() {
console.log( typeof b === 'function' );
};
a(); // true
console.log( typeof b === 'function' ); // false
为什么第二个结果是假的?
最佳答案
关于Javascript 变量 a = 函数 b() {},我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17584408/