What is the result of the following JavaScript code?
var x = 10; function foo() { var x = 5; console.log(x); } foo(); console.log(x);
A) 5 and 10 B) 5 and 5 C) 10 and 5 D) 10 and 10

seen from Germany
seen from United States
seen from Montenegro

seen from Russia

seen from China
seen from Bulgaria

seen from Finland
seen from United States

seen from United States
seen from Singapore

seen from Canada
seen from Costa Rica

seen from Finland
seen from Russia
seen from United States
seen from China
seen from Türkiye
seen from Germany
seen from United States
seen from Sweden
What is the result of the following JavaScript code?
var x = 10; function foo() { var x = 5; console.log(x); } foo(); console.log(x);
A) 5 and 10 B) 5 and 5 C) 10 and 5 D) 10 and 10
What will the following JavaScript code output?
console.log(5 + "5");
A) 10 B) 55 C) Error D) NaN
What is the correct way to declare a variable in JavaScript?
A) new var myVariable; B) let myVariable; C) variable myVariable; D) declare myVariable;
Which of these JavaScript frameworks and technologies, what area are you most knowledgeable about or interested in?
A. Angular B. Node C. Vue.js D. React