App下載

詞條

大約有 2,000 項(xiàng)符合查詢結(jié)果 ,庫(kù)內(nèi)數(shù)據(jù)總量為 78,250 項(xiàng)。(搜索耗時(shí):0.0031秒)

291.JavaScript 轉(zhuǎn)義字符串中的引號(hào)

```javascript var myStr="I am a \"double quoted\" string inside \"double quotes\""; // Change this line ```

http://www.o2fo.com/chun5060/chun5060-67wk24a3.html

292.JavaScript 使用單引號(hào)引用字符串

```javascript var myStr = '<a target="_blank">Link</a>'; ```

http://www.o2fo.com/chun5060/chun5060-iqj224a4.html

293.JavaScript 轉(zhuǎn)義字符串中的特殊符號(hào)

```javascript var myStr="\\ \t \b \r \n"; // Change this line ```

http://www.o2fo.com/chun5060/chun5060-m2x124a5.html

294.?JavaScript字符串連接方式

```javascript // 舉例 var ourStr = "I come first. " + "I come second."; // Only change code below this line var myStr="This is the start. "+"This is the end."; ```

http://www.o2fo.com/chun5060/chun5060-412m24a6.html

295.JavaScript +=連接字符串操作

```javascript // 舉例 var ourStr = "I come first. "; ourStr += "I come second."; // Only change code below this line var myStr="This is the first sentence. "; myStr+="This is the second sentence."; ```

http://www.o2fo.com/chun5060/chun5060-dxbm24a7.html

296.JavaScript 使用變量連接字符串

```javascript // 舉例 var ourName = "Free Code Camp"; var ourStr = "Hello, our name is " + ourName + ", how are you?"; // Only change code below this line var myName="John"; var myStr="My name is "+myName+" and I am swell!"; ```

http://www.o2fo.com/chun5060/chun5060-cbjq24a8.html

297.JavaScript 追加變量到字符串上

```javascript // 舉例 var anAdjective = "awesome!"; var ourStr = "Free Code Camp is "; ourStr += anAdjective; // Only change code below this line var someAdjective="go go go"; var myStr = "Learning to code is "; myStr+=someAdjective; ```

http://www.o2fo.com/chun5060/chun5060-w7gj24a9.html

298.JavaScript 獲取字符串的長(zhǎng)度

```javascript // 舉例 var firstNameLength = 0; var firstName = "Ada"; firstNameLength = firstName.length; // Setup var lastNameLength = 0; var lastName = "Lovelace"; // Only change code below this line. lastNameLength = lastName.length; ```

http://www.o2fo.com/chun5060/chun5060-c1mo24aa.html

299.?JavaScript 使用中括號(hào)獲取字符串中的第一個(gè)字符?

```javascript // 舉例 var firstLetterOfFirstName = ""; var firstName = "Ada"; firstLetterOfFirstName = firstName[0]; // Setup var firstLetterOfLastName = ""; var lastName = "Lovelace"; // Only change code below this line firstLetterOfLastName = lastName[0]; ```

http://www.o2fo.com/chun5060/chun5060-vhep24ab.html

300.理解JavaScript字符串的不可變性

```javascript // Setup var myStr = "Jello World"; // Only change code below this line myStr = "Hello World"; // Fix Me ```

http://www.o2fo.com/chun5060/chun5060-qors24ac.html

抱歉,暫時(shí)沒有相關(guān)的微課

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時(shí)沒有相關(guān)的視頻課程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時(shí)沒有相關(guān)的教程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

291.JavaScript 轉(zhuǎn)義字符串中的引號(hào)

```javascript var myStr="I am a \"double quoted\" string inside \"double quotes\""; // Change this line ```

http://www.o2fo.com/chun5060/chun5060-67wk24a3.html

292.JavaScript 使用單引號(hào)引用字符串

```javascript var myStr = '<a target="_blank">Link</a>'; ```

http://www.o2fo.com/chun5060/chun5060-iqj224a4.html

293.JavaScript 轉(zhuǎn)義字符串中的特殊符號(hào)

```javascript var myStr="\\ \t \b \r \n"; // Change this line ```

http://www.o2fo.com/chun5060/chun5060-m2x124a5.html

294.?JavaScript字符串連接方式

```javascript // 舉例 var ourStr = "I come first. " + "I come second."; // Only change code below this line var myStr="This is the start. "+"This is the end."; ```

http://www.o2fo.com/chun5060/chun5060-412m24a6.html

295.JavaScript +=連接字符串操作

```javascript // 舉例 var ourStr = "I come first. "; ourStr += "I come second."; // Only change code below this line var myStr="This is the first sentence. "; myStr+="This is the second sentence."; ```

http://www.o2fo.com/chun5060/chun5060-dxbm24a7.html

296.JavaScript 使用變量連接字符串

```javascript // 舉例 var ourName = "Free Code Camp"; var ourStr = "Hello, our name is " + ourName + ", how are you?"; // Only change code below this line var myName="John"; var myStr="My name is "+myName+" and I am swell!"; ```

http://www.o2fo.com/chun5060/chun5060-cbjq24a8.html

297.JavaScript 追加變量到字符串上

```javascript // 舉例 var anAdjective = "awesome!"; var ourStr = "Free Code Camp is "; ourStr += anAdjective; // Only change code below this line var someAdjective="go go go"; var myStr = "Learning to code is "; myStr+=someAdjective; ```

http://www.o2fo.com/chun5060/chun5060-w7gj24a9.html

298.JavaScript 獲取字符串的長(zhǎng)度

```javascript // 舉例 var firstNameLength = 0; var firstName = "Ada"; firstNameLength = firstName.length; // Setup var lastNameLength = 0; var lastName = "Lovelace"; // Only change code below this line. lastNameLength = lastName.length; ```

http://www.o2fo.com/chun5060/chun5060-c1mo24aa.html

299.?JavaScript 使用中括號(hào)獲取字符串中的第一個(gè)字符?

```javascript // 舉例 var firstLetterOfFirstName = ""; var firstName = "Ada"; firstLetterOfFirstName = firstName[0]; // Setup var firstLetterOfLastName = ""; var lastName = "Lovelace"; // Only change code below this line firstLetterOfLastName = lastName[0]; ```

http://www.o2fo.com/chun5060/chun5060-vhep24ab.html

300.理解JavaScript字符串的不可變性

```javascript // Setup var myStr = "Jello World"; // Only change code below this line myStr = "Hello World"; // Fix Me ```

http://www.o2fo.com/chun5060/chun5060-qors24ac.html

抱歉,暫時(shí)沒有相關(guān)的文章

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

熱門課程