JavaScript學習總結-技巧、實用函數、簡潔方法、編程細節

整理JavaScript方面的一些技巧,比較實用的函數,常見功能實現方法,僅做參考html 變量轉換 //edit http://www.lai18.com var myVar = "3.14159", str = ""+ myVar,// to string int = ~~myVar, // to integer float = 1*myVar, // to float bool
相關文章
相關標籤/搜索