From a3fcd5ab673c09bc1b0e130621188a261464f09a Mon Sep 17 00:00:00 2001 From: sienori Date: Thu, 15 Nov 2018 21:53:35 +0900 Subject: [PATCH] Delete unnecessary setter --- simple-translate/translate.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/simple-translate/translate.js b/simple-translate/translate.js index dd11c22..8734e91 100644 --- a/simple-translate/translate.js +++ b/simple-translate/translate.js @@ -8,10 +8,6 @@ class Translate { this.history = []; } - set sourceWord(word) { - this.sourceWord = word; - } - getHistory(sourceWord, sourceLang, targetLang) { const history = this.history.find( history =>