Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let thequestion = [
- new Question("What is a typical danish breakfast?", ["Pork", "Pork1", "Pork2"], "Pork"),
- new Question("Is NodeJS is a front end or back end framework?", ["Back end", "Front End"], "Back end"),
- new Question("Is JAVA object oriented language?", ["Yes", "No"], "Yes")
- ]
- var answers_args = ["yeah", "jo"];
- function insertQuestion(question, answers, correct) {
- thequestion.push(new Question(question, answers, correct));
- }
- insertQuestion("Whats up?", answers_args, "yeah");
Add Comment
Please, Sign In to add comment