$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · easy · #5

What is the output?

const x: number = 4;
console.log(x * x);
  1. 8
  2. 44
  3. 16
  4. 4
4 multiplied by 4 is 16.
Play Problem Solving ▸