摘要:
function bar() { return foo; foo = 10; function foo() {} var foo = 11;}alert(typeof bar());结果是 function 阅读全文
摘要:
阅读全文
摘要:
一般都设置display=' ',因为display='none'在某些浏览器里不生效 阅读全文
摘要:
结果:结论:未经初始化的变量,会保存一个特殊的值-------undefined结果:dayVal is not defined 阅读全文