#javascriptpoll
Explore tagged Tumblr posts
amigoways 1 year ago
Text
Tumblr media
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
1 note View note
scriptzol 1 year ago
Text
Tumblr media
What is the correct way to declare a variable in JavaScript?
A) new var myVariable; B) let myVariable; C) variable myVariable; D) declare myVariable;
1 note View note
amigoways 1 year ago
Text
Tumblr media
What will the following JavaScript code output?
console.log(5 + "5");
A) 10 B) 55 C) Error D) NaN
0 notes
scriptzol 1 year ago
Text
Tumblr media
Which keyword is used to declare a variable in JavaScript?
a) var b) int c) string d) variable
0 notes
amigoways 1 year ago
Text
Tumblr media
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
1 note View note