Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
ECMAScript Interview Questions and Answers
Home
Questions
ECMAScript
0
votes
Q: During destructuring, you can either declare variables or assign to them, or both. (1)False (2)True
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Destructuring helps us to extract multiple values from an object via __________.
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Which is not a lexical inside arrow functions?
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Variables declared in a scope are accessible in ___________.
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Template literals can be defined as _________.
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Arrow Functions are less verbose than traditional functions (1)False (2)True
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Template literals can be reused __________.
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: What will be the output of the following code snippet in ES6? const func= ( x, y ) => { return x + y; }; func(11,12);
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Template literals support ____________.
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Which keywords can be used to implement inheritance in ES6?
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: The bodies of class declarations and class expressions are executed in strict mode. (1)True (2)False
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: _________ feature helps us to simplify the inheritance concept.
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Maps can be used to store __________.
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Which is not true about static methods?
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Which is not true about static methods?
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Below is the extends class code class Player extends Student { constructor(roll, name) { super(roll, name); this.Player = true; } }; Here, super(roll,name); refers to the
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: What will be printed if the following code is executed? let x=150; if(x>100) { x=1; } console.log(x);
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Which of the following statements is not true about level of scope?
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Which of the following is not a state of Promise?
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Variables declared with which of the following constructs do not have block scope?
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: What is the scope of the variable "a" in function below? function val(x){ if(x>0){ let a = x; console.log(a); } }
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: A Promise has _________ number of states.
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: What is the meaning of the following line of code? const pi=3.14;
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Which of the following does not declare a block scoped variable?
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: What if promise2 get rejected in the following syntax? Promise.all(promise1, promise2, .....)
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Keyword "let" allows redeclaring variables.
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Objects declared as "const" are immutable.
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: Symbols can be created using the factory function _________.
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: What is the significance of the following code snippet? for (let i = 0; i < 10; i++) { x += 10; }
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
0
votes
Q: ES6 modules are stored in __________.
asked
Jan 21, 2020
in
ECMAScript
by
GeorgeBell
Page:
« prev
1
2
3
next »
...