Last active
March 2, 2019 13:49
-
-
Save haru01/a73ffe8f6ad52729996c8792cf74e75b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -7,2 +6,0 @@ function generateReadedReport(readedList, recommendList) { | |
| - let currentPoint = point(readedBook); | |
| - | |
| @@ -10 +8 @@ function generateReadedReport(readedList, recommendList) { | |
| - report += ` - ${readedBook.name}: ${currentPoint} point\n`; | |
| + report += ` - ${readedBook.name}: ${point(readedBook)} point\n`; | |
| @@ -13 +11 @@ function generateReadedReport(readedList, recommendList) { | |
| - totalPoint += currentPoint; | |
| + totalPoint += point(readedBook); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment