Multiplication in JavaScript
Level 119 keystrokes
Multiplies 6 by 7 and prints the result, 42.
JavaScript code
// In JavaScript the multiplication operator is *, not ×// 6 * 7 is evaluated to 42, which console.log() prints1console.log(6 * 7);Output
42
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