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
Recent questions tagged javascript-interview-questions-answers
Home
Tag
javascript-interview-questions-answers
0
votes
Q: What does this return ? const firstPromise = new Promise((res, rej) =>
asked
Mar 7
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? function* generator(i) { yield i; yield i * 2; } const gen = generator(10);
asked
Mar 7
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What does this return? [...'Lydia'];
asked
Mar 7
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What does the setInterval method return in the browser? setInterval(() => console.log('Hi'), 1000);
asked
Mar 7
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? !!null; !!''; !!1;
asked
Mar 7
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? [[0, 1], [2, 3]].reduce( (acc, cur) => { return acc.concat(cur); }, [1, 2], );
asked
Feb 27
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: Everything in JavaScript is either a...
asked
Feb 27
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? (() => { let x, y; try { throw new Error(); }
asked
Feb 27
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? const numbers = [1, 2, 3]; numbers[10] = 11; console.log(numbers);
asked
Feb 27
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? console.log(typeof typeof 1);
asked
Feb 27
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: Which of these values are falsy? 0; new Number(0); (''); (' '); new Boolean(false); undefined;
asked
Feb 27
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? function sayHi() { return (() => 0)(); } console.log(typeof sayHi());
asked
Feb 27
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? const person = { name: 'Lydia' }; function sayHi(age) { return `${this.name} is ${age}`; }
asked
Feb 27
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: When you click the paragraph, what's the logged output? <div onclick="console.log('div')">
asked
Feb 27
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What is the event.target when clicking the button? <div onclick="console.log('first div')">
asked
Feb 27
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? const foo = () => console.log('First'); const bar = () => setTimeout(() => console.log('Second'));
asked
Feb 27
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? const a = {}; const b = { key: 'b' }; const c = { key: 'c' }; a[b] = 123; a[c] = 456;
asked
Feb 27
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? String.prototype.giveLydiaPizza = () => { return 'Just give Lydia pizza already!'; };
asked
Feb 26
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? for (let i = 1; i < 5; i++) { if (i === 3) continue; console.log(i); }
asked
Feb 26
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: The JavaScript global execution context creates two things for you: the global object, and the "this" keyword.
asked
Feb 26
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
Page:
« prev
1
2
3
4
5
6
7
8
9
...
23
next »
...