Skip to content

Commit 17af410

Browse files
committed
Remove spaces
1 parent f30e0d4 commit 17af410

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

1-js/05-data-types/03-string/article.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ If we use them and try to use multiple lines, there'll be an error:
4545

4646

4747
```js run
48-
let guestList = "Guests: // Error: Unexpected token ILLEGAL
48+
let guestList = "Guests: // Error: Unexpected token ILLEGAL
4949
* John";
5050
```
5151

@@ -199,7 +199,7 @@ For instance:
199199
```js run
200200
let str = 'Hi';
201201

202-
str = 'h' + str[1]; // replace the string
202+
str = 'h' + str[1]; // replace the string
203203

204204
alert( str ); // hi
205205
```
@@ -377,7 +377,7 @@ The methods [str.startsWith](mdn:js/String/startsWith) and [str.endsWith](mdn:js
377377

378378
```js run
379379
alert( "Widget".startsWith("Wid") ); // true, "Widget" starts with "Wid"
380-
alert( "Widget".endsWith("get") ); // true, "Widget" ends with "get"
380+
alert( "Widget".endsWith("get") ); // true, "Widget" ends with "get"
381381
```
382382

383383
## Getting a substring

0 commit comments

Comments
 (0)