Skip to content

Commit c9de409

Browse files
authored
Merge pull request #16 from ockley/master
Data types
2 parents 59a15ef + 3b06885 commit c9de409

File tree

3 files changed

+109
-109
lines changed

3 files changed

+109
-109
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11

2-
Backticks embed the expression inside `${...}` into the string.
2+
Backticks indlejrer udtryk skrevet i `${...}` ind i selve tekststrengen.
33

44
```js run
55
let name = "Ilya";
66

7-
// the expression is a number 1
7+
// udtrykket er et tal
88
alert( `hello ${1}` ); // hello 1
99

10-
// the expression is a string "name"
10+
// udtrykket er selve teksten "name"
1111
alert( `hello ${"name"}` ); // hello name
1212

13-
// the expression is a variable, embed it
13+
// udtrykket er indholdet af variablen name
1414
alert( `hello ${name}` ); // hello Ilya
1515
```

1-js/02-first-steps/05-types/1-string-quotes/task.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ importance: 5
22

33
---
44

5-
# String quotes
5+
# Tesktstrenge og citationstegn
66

7-
What is the output of the script?
7+
Hvad skriver følgende kommandoerWhat is the output of the script?
88

99
```js
1010
let name = "Ilya";

0 commit comments

Comments
 (0)