なぜtrue
Comments: 0 - Date: January 20th, 2007 - Categories: JavaScript
[js]
var b = new Boolean(false);
if(b) alert(b);
[/js]
実行するとalertで「false」と表示される。
なんかすっきりしないな。
Comments: 0 - Date: January 20th, 2007 - Categories: JavaScript
[js]
var b = new Boolean(false);
if(b) alert(b);
[/js]
実行するとalertで「false」と表示される。
なんかすっきりしないな。
http://blog.wozozo.org/archives/10/trackback
Leave a comment