Addition Output in JavaScript
Level 119 keystrokes
Adds 3 and 4 and prints the result, 7.
JavaScript code
// The expression 3 + 4 is evaluated first, giving the number 7// console.log() then prints that result, not the text "3 + 4"1console.log(3 + 4);Output
7
Practice typing this code. Results are not recorded in the rankings.
Symbols in this code
The symbols you type in this JavaScript code and how often they appear.
;× 1.× 1(× 1)× 1+× 1