Last active
March 2, 2019 14:05
-
-
Save haru01/40eff61fd7c9affa2f09e6223417d147 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
| @@ -3,5 +3,2 @@ function generateReadedReport(readedList, recommendList) { | |
| report += '-----\n'; | |
| - | |
| - let totalPoint = total(); | |
| - | |
| for (let readedBook of readedList.books) { | |
| @@ -11,5 +8,4 @@ function generateReadedReport(readedList, recommendList) { | |
| } | |
| - | |
| report += '-----\n'; | |
| - report += `total: ${totalPoint} point`; | |
| + report += `total: ${total()} point`; | |
| return report; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment