javascript – here is my code! and it works, but I'm not sure if it's well written, so I want some comments

I've written this code and it works, but I'm really not sure it's written without strange parts.
So, I want your comments. I will really appreciate all your comments. Thank you!

Description of the operation: the questions are displayed in the console tap with the player's score. This is prompted by prompting continuously until the entry of the prompt receives "exit." If the answer to each question is correct, the scores of the players count. but if not, the same question is displayed again and again until the answer is correct.

var Question = function (question, answers, correct answer) {
this.question = question;
this.answers = answer;
this.correctAnswer = correctAnswer;
}
Question.prototype.score = 0;
Question.prototype.playersAnswer;

Question.prototype.logAll = function () {
console.log (this.question);
for (var i = 0; i <this.answers.length; i ++) {
console.log (i + ":" + this.answers[i])
}
}
Question.prototype.askQuestions = function () {
Question.prototype.playersAnswer = prompt (this.question);
}
Question.prototype.checkIfRight = function () {
if (this.correctAnswer === Question.prototype.playersAnswer) {
console.log ("Correct answer!");
Question.prototype.score ++;
Question.prototype.logScore ();
}
else if (Question.prototype.playersAnswer === "exit") {return 0;}
other {
console.log ("Wrong! Try again :)");
Question.prototype.logScore ();
return 'w';
}
}
Question.prototype.logScore = function () {
console.log ("Your score:" + Question.prototype.score
+ " n ---------------------------------");
}

var q1 = new question (& # 39; What is the name of the course teacher?['John','Baek','Jonas']& # 39; 2 & # 39;);
var q2 = new question (is JavaScript the coolest language in the world?['Yes','No']& # 39; 0 & # 39;);
var q3 = new question (& # 39; What language will you learn after?
                      ['C++','C','Java','Python','Node.js']& # 39; 4 & # 39;);
var questions = [q1,q2,q3];
function init () {
var n = Math.floor (Math.random () * 3);
questions[n].logAll ();
questions[n].To ask questions();
questions[n].checkIfRight ();

}

make {
var n = Math.floor (Math.random () * 3);
questions[n].logAll ();
questions[n].To ask questions();
while (questions[n].checkIfRight () === & # 39;)
questions[n].logAll ();
questions[].To ask questions();
};
}
while (q1.playersAnswer! == "exit");