JavaScript String (字串)筆記
在 JavaScript 中,String (字串) 使用單引號 ' '
或 雙引號 " "
包住,使用單引號與雙引號並無不同,但兩者不可混用。要特別注意雙引號裡面不能有雙引號,單引號裡面不能有單引號,如下 :
These were the top 10 stories published by Thomas 學習筆記 in 2020. You can also dive into monthly archives for 2020 by using the calendar at the top of this page.