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 activity in JavaScript
Home
Recent Activities
JavaScript
0
votes
Q: What does this method do? JSON.parse();
answered
Mar 15
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? const food = ['', '', '', '']; const info = { favoriteFood: food[0] };
answered
Mar 15
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: Which of these methods modifies the original array? const emojis = ['✨', '', '']; emojis.map(x => x + '✨');
answered
Mar 15
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's its value? console.log('❤️' === '❤️'); A: true B: false
answered
Mar 15
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's its value? const colorConfig = { red: true, blue: false, green: true, black: true, yellow: false, };
answered
Mar 15
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's its value? function compareMembers(person1, person2 = person) { if (person1 !== person2)
answered
Mar 15
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's its value? Promise.resolve(5);
answered
Mar 15
in
JavaScript
by
DavidAnderson
javascript-interveiw-quesitons-answers
0
votes
Q: What's the value of output? const set = new Set(); set.add(1); set.add('Lydia'); s
answered
Mar 15
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answer
0
votes
Q: What's the value of output? const myPromise = () => Promise.resolve('I have resolved!'); function firstFunction()
answered
Mar 15
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the value of output? const one = false || {} || null; const two = null || false || '';
answered
Mar 15
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the value of output? const output = `${[] && 'Im'}possible! You should${'' && `n't`}
answered
Mar 13
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? const name = 'Lydia'; console.log(name()); A: SyntaxErr
answered
Mar 13
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? const getList = ([x, ...y]) => [x, y] const getUser = user => { name: user.name, age: user.age }
answered
Mar 13
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? const info = { [Symbol('a')]: 'b', };
answered
Mar 13
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? class Person { constructor() { this.name = 'Lydia'; } }
answered
Mar 13
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? function nums(a, b) { if (a > b) console.log('a is bigger'); else console.log('b is bigger');
answered
Mar 13
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? function getItems(fruitList, ...args, favoriteFruit)
answered
Mar 13
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? const person = { name: 'Lydia', age: 21, };
answered
Mar 13
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? function giveLydiaPizza() { return 'Here is pizza!'; }
answered
Mar 13
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What's the output? let newList = [1, 2, 3].push(4); console.log(newList.push(5));
answered
Mar 13
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
To see more, click for all the
questions in this category
.
...