You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: concepts/strings/about.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ You can find all the methods in the [MDN docs][mdn-docs].
31
31
32
32
## String interpolation
33
33
34
-
Strings in JavaScript support interpolation using [string template literals][mdn-template-strings].
34
+
Strings in JavaScript support concatenation using [`+` and slight variations][https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String#long_literal_strings] and interpolation using [string template literals][mdn-template-strings].
Copy file name to clipboardExpand all lines: exercises/concept/poetry-club-door-policy/.docs/hints.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,13 @@
7
7
8
8
## 2. Capitalize a word
9
9
10
-
- Capitalization means having a single Uppercase character, followed by lowercase characters.
11
-
- There are two methods to take a part of a string (for example, everything except the first character).
10
+
- Capitalization means having a single _Uppercase_ character, followed by _lowercase_ characters.
11
+
- There are two methods to take a portion of a string (for example, everything except the first character).
12
12
-`.slice(position)` can slice up a string at a position.
13
13
14
14
## 3. Get the last letter of a sentence
15
15
16
-
- This is similar to getting the first letter, except that it might be preferable to use the number of characters in the string to find the position
17
-
of the last character.
16
+
- This is similar to getting the first letter, except that it might be preferable to use the number of characters in the string to find the position of the last character.
18
17
- The number of characters in a string is given by its `.length` property.
0 commit comments