Skip to content
Snippets Groups Projects
Commit f72fcc43 authored by Subliminal Guy's avatar Subliminal Guy
Browse files

Small Changes

parent 25e29d7f
No related branches found
No related tags found
No related merge requests found
File changed. Contains only whitespace changes. Show whitespace changes.
...@@ -7,13 +7,14 @@ else { ...@@ -7,13 +7,14 @@ else {
} }
} }
let result
try { try {
let result = makeUpperCase(1223); result = makeUpperCase(1223);
} }
catch (error) { catch (error) {
console.log("Da gab es einen Fehler: ", error.message); console.log("Da gab es einen Fehler: ", error.message);
} }
console.log(result)
File changed. Contains only whitespace changes. Show whitespace changes.
File changed. Contains only whitespace changes. Show whitespace changes.
...@@ -14,7 +14,8 @@ const questions = [ ...@@ -14,7 +14,8 @@ const questions = [
{ {
category: "History", category: "History",
question: "Who was the first president of the United States?", question: "Who was the first president of the United States?",
choices: ["John Adams", "Thomas Jefferson", "George Washington", "Abraham Lincoln"], choices: ["John Adams", "Thomas Jefferson",
"George Washington", "Abraham Lincoln"],
answer: "George Washington" answer: "George Washington"
}, },
{ {
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment