Skip to content

Commit

Permalink
clean up JS question on toFixed
Browse files Browse the repository at this point in the history
  • Loading branch information
kristenking committed Sep 8, 2023
1 parent 2f76d8f commit 30c05b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/javascript-quiz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const javascriptQuiz = [
},
{
Question:
"In JavaScript, if let n = 12345.6789, then what will be the result for console.log(n.toFixed())?",
"In JavaScript, what will be the result for the following code: 12345.6789.toFixed()?",
Answer: "12346",
Distractor1: "12345",
Distractor2: "12345.6789",
Expand Down

0 comments on commit 30c05b4

Please sign in to comment.