Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0507f08

Browse files
committed
remove unnecessary folders
1 parent2788494 commit0507f08

19 files changed

+18
-18
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎tutorial/1/01/let.mdrenamed to‎tutorial/01/let.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let blockScoped = true;
1111

1212

1313
+ Run the`varTest` function and look in the console.
14-
@test('1/01/01')
14+
@test('01/01')
1515
@hint('Click "SAVE". ⌘ + S on Mac, ctrl + S on Windows')
1616
@action(open('let.js'))
1717
@action(set(
@@ -32,7 +32,7 @@ varTest();
3232
))
3333

3434
+ Change`var` to`let` and run the`letTest` function. Don't forget to look in the console.
35-
@test('1/01/02')
35+
@test('01/02')
3636
@action(insert(
3737
```
3838
@@ -52,7 +52,7 @@ letTest();
5252
))
5353

5454
+ fix the broken loop to log numbers 1 to 5
55-
@test('1/01/03')
55+
@test('01/03')
5656
@action(insert(
5757
```
5858
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎tutorial/1/02/const.mdrenamed to‎tutorial/02/const.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ console.log(name); // Shawn
1313
*Note: Atom uses an older version of Chrome that does not fully implement const yet. Const will work in Atom after a few months.*
1414

1515
+ Declare "person" as a`const`
16-
@test('1/02/01')
16+
@test('02/01')
1717
@action(open('const.js'))
1818
@action(set(
1919
```
@@ -33,7 +33,7 @@ password = '1234';
3333
))
3434

3535
+ Declare "person" as a constant. Check the log to see what will happen.
36-
@test('1/02/02')
36+
@test('02/02')
3737
@action(insert(
3838
```
3939
@@ -59,7 +59,7 @@ console.log(person);
5959
))
6060

6161
+ Declare "people" as a constant. Check the log again.
62-
@test('1/02/03')
62+
@test('02/03')
6363
@action(insert(
6464
```
6565
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎tutorial/1/03/arrow-function.mdrenamed to‎tutorial/03/arrow-function.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const getOne = () => 1;
1616

1717

1818
+ Change the "greet" function to use an`=>` function
19-
@test('1/03/01')
19+
@test('03/01')
2020
@action(open('arrow-function.js'))
2121
@action(set(
2222
```
@@ -30,7 +30,7 @@ const greet = function (name) {
3030
))
3131

3232
+ Change the "getName" function to use an`=>` function without using the keyword`return`
33-
@test('1/03/02')
33+
@test('03/02')
3434
@action(insert(
3535
```
3636
@@ -44,7 +44,7 @@ const getName = function getName() {
4444
))
4545

4646
+ Fix the broken clock by using arrow functions.
47-
@test('1/03/03')
47+
@test('03/03')
4848
@action(insert(
4949
```
5050
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎tutorial/1/04/template-literal.mdrenamed to‎tutorial/04/template-literal.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ let template = `string text ${expression} string text`;
1414

1515
+`log` a template literal using`template`. What does it look like?
1616
@action(open('template-literal.js'))
17-
@test('1/04/01')
17+
@test('04/01')
1818
@action(set(
1919
```
2020
// change the output to a template literal
@@ -29,7 +29,7 @@ template();
2929
))
3030

3131
+ rewrite`multiline` to use template literals
32-
@test('1/04/02')
32+
@test('04/02')
3333
@action(insert(
3434
```
3535
@@ -46,7 +46,7 @@ multiline();
4646
))
4747

4848
+ rewrite`expressions` to use template literals
49-
@test('1/04/03')
49+
@test('04/03')
5050
@hint('Use`${expressions}`')
5151
@action(insert(
5252
```
File renamed without changes.

‎tutorial/1/05/object-literal.mdrenamed to‎tutorial/05/object-literal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const fooObj = {
1515

1616
+ Rewrite the object in an easier way using object literals
1717
@action(open('object-literal.js'))
18-
@test('1/05/01')
18+
@test('05/01')
1919
@action(set(
2020
```
2121
// rewrite in a simpler way

‎tutorial/tutorial.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#ES2015
22
Practice refactoring with ES2015 features.
33

4-
@import('1/01/let')
5-
@import('1/02/const')
6-
@import('1/03/arrow-function')
7-
@import('1/04/template-literal')
8-
@import('1/05/object-literal')
4+
@import('01/let')
5+
@import('02/const')
6+
@import('03/arrow-function')
7+
@import('04/template-literal')
8+
@import('05/object-literal')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp