Friday , September 20 2024

Analyze the code snippet: let n = 10; let m = ++n; Its execution will result in the following values in the variables n and m:

Questions BankCategory: JavaScript Essentials 1Analyze the code snippet: let n = 10; let m = ++n; Its execution will result in the following values in the variables n and m:
Analyze the code snippet:

let n = 10;
let m = ++n;

Its execution will result in the following values in the variables n and m:

  • n: 10, m: 11
  • n: 11, m: 10
  • n: 11, m: 11
  • n: 10, m: 10

More Questions: JavaScript Essentials 1 – JSE1: Module 3 Test