光辉飞翔

导航

 

2012年10月29日

摘要: number = string*1;string = number+'';var str = '012.8372';var s = 0;str = str*1;alert(typeof(str));//numbers += '';alert(typeof(s));//stringvar boo = true;alert(typeof(boo));//booleanvar bs = Boolean(s);alert("bs:"+typeof(bs));alert("bsv:"+bs);//true 阅读全文
posted @ 2012-10-29 17:08 光辉飞翔 阅读(2069) 评论(0) 推荐(0)