Login
Remember
Register
Ask a Question
Recent questions tagged javascript-interview-questions-answers
0
votes
1
answer
What does this method do? JSON.parse();
asked
Mar 15, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's the output? const food = ['', '', '', '']; const info = { favoriteFood: food[0] };
asked
Mar 15, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
Which of these methods modifies the original array? const emojis = ['✨', '', '']; emojis.map(x => x + '✨');
asked
Mar 15, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's its value? console.log('❤️' === '❤️'); A: true B: false
asked
Mar 15, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's its value? const colorConfig = { red: true, blue: false, green: true, black: true, yellow: false, };
asked
Mar 15, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's its value? function compareMembers(person1, person2 = person) { if (person1 !== person2)
asked
Mar 15, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's the value of output? const myPromise = () => Promise.resolve('I have resolved!'); function firstFunction()
asked
Mar 15, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's the value of output? const one = false || {} || null; const two = null || false || '';
asked
Mar 15, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's the value of output? const output = `${[] && 'Im'}possible! You should${'' && `n't`}
asked
Mar 13, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's the output? const name = 'Lydia'; console.log(name()); A: SyntaxErr
asked
Mar 13, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's the output? const getList = ([x, ...y]) => [x, y] const getUser = user => { name: user.name, age: user.age }
asked
Mar 13, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's the output? const info = { [Symbol('a')]: 'b', };
asked
Mar 13, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's the output? class Person { constructor() { this.name = 'Lydia'; } }
asked
Mar 13, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's the output? function nums(a, b) { if (a > b) console.log('a is bigger'); else console.log('b is bigger');
asked
Mar 13, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's the output? function getItems(fruitList, ...args, favoriteFruit)
asked
Mar 13, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's the output? const person = { name: 'Lydia', age: 21, };
asked
Mar 13, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's the output? function giveLydiaPizza() { return 'Here is pizza!'; }
asked
Mar 13, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's the output? let newList = [1, 2, 3].push(4); console.log(newList.push(5));
asked
Mar 13, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's the output? class Person { constructor(name) { this.name = name; } }
asked
Mar 12, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
1
answer
What's the output? function sum(num1, num2 = num1) { console.log(num1 + num2); } sum(10);
asked
Mar 12, 2024
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
Page:
1
2
3
4
5
6
...
23
next »
...