diff --git a/frontend/www/scripts/exercise.js b/frontend/www/scripts/exercise.js
index 3f63494c4929bb0e671139673062316e984e0fbc..13c32e7665db338f6cd589c350e83a61544473d8 100644
--- a/frontend/www/scripts/exercise.js
+++ b/frontend/www/scripts/exercise.js
@@ -4,15 +4,6 @@ let deleteButton;
 let editButton;
 let oldFormData;
 
-function trueOrFalse(){
-    if (1==2){
-        return true;
-    }
-    else{
-        return false
-    }
-}
-
 function disableExerciseForm() {
     setReadOnly(true, "#form-exercise");
     okButton.className += " hide";