CJCoding With Joseph
15per day
← Back to Question List

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics:
JavaScript Quiz #2

Adding Two Numbers

easyPrinting

You have two variables, num1 = 5 and num2 = 10. Which code correctly calculates the sum and logs "The sum is: 15" to the console?

📄 Code

1let num1 = 5;
2let num2 = 10;
3// TODO: compute sum and print