mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-12 01:34:15 +02:00
Fix typo
This commit is contained in:
@@ -162,7 +162,7 @@ let myString1 = "Hello";
|
|||||||
let myString2 = "World";
|
let myString2 = "World";
|
||||||
|
|
||||||
`${myString1} ${myString2}!` //Hello World!
|
`${myString1} ${myString2}!` //Hello World!
|
||||||
`${myString1}, ${myString2}!` //Hello World!
|
`${myString1}, ${myString2}!` //Hello, World!
|
||||||
```
|
```
|
||||||
|
|
||||||
You can achieve your formatting goals with either method, but template literals will respect any spaces and line breaks.
|
You can achieve your formatting goals with either method, but template literals will respect any spaces and line breaks.
|
||||||
|
@@ -164,7 +164,7 @@ let myString1 = "Hello";
|
|||||||
let myString2 = "World";
|
let myString2 = "World";
|
||||||
|
|
||||||
`${myString1} ${myString2}!` //Hello World!
|
`${myString1} ${myString2}!` //Hello World!
|
||||||
`${myString1}, ${myString2}!` //Hello World!
|
`${myString1}, ${myString2}!` //Hello, World!
|
||||||
```
|
```
|
||||||
|
|
||||||
Sie können Ihre Formatierungsziele mit beiden Methoden erreichen, aber Vorlagenliterale berücksichtigen alle Leerzeichen und Zeilenumbrüche.
|
Sie können Ihre Formatierungsziele mit beiden Methoden erreichen, aber Vorlagenliterale berücksichtigen alle Leerzeichen und Zeilenumbrüche.
|
||||||
|
@@ -160,7 +160,7 @@ let myString1 = "Hello";
|
|||||||
let myString2 = "World";
|
let myString2 = "World";
|
||||||
|
|
||||||
`${myString1} ${myString2}!` //Hello World!
|
`${myString1} ${myString2}!` //Hello World!
|
||||||
`${myString1}, ${myString2}!` //Hello World!
|
`${myString1}, ${myString2}!` //Hello, World!
|
||||||
```
|
```
|
||||||
|
|
||||||
Puede lograr sus objetivos de formato con cualquier método, pero los literales de plantilla respetarán los espacios y saltos de línea.
|
Puede lograr sus objetivos de formato con cualquier método, pero los literales de plantilla respetarán los espacios y saltos de línea.
|
||||||
|
Reference in New Issue
Block a user