Filter
Exclude
Time range
-
Near
What is the result of the following JavaScript code? var x = 10; function foo() { var x = 5; console.log(x); } foo(); console.log(x); #quiz #JavaScript #JavaScriptquiz #JavaScriptpoll #CodingQuiz #letsconnect #amigowayspoll #amigoways #JavaScriptCoding #CodePrinting
0% A) 5 and 10
100% B) 5 and 5
0% C) 10 and 5
0% D) 10 and 10
2 votes • Final results
4
20