Login
Remember
Register
User DavidAnderson
Wall
Recent activity
All questions
All answers
Ask a Question
Answers by DavidAnderson
0
votes
What's the output? const numbers = [1, 2, 3, 4, 5]; const [y] = numbers; console.log(y);
answered
Mar 9, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What's the output? const name = 'Lydia'; age = 21; console.log(delete name); console.log(delete age);
answered
Mar 9, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What's the output? // counter.js let counter = 10; export default counter; // index.js import myCounter
answered
Mar 9, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What's the output? const set = new Set([1, 1, 2, 3, 4]); console.log(set
answered
Mar 9, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What's the output? class Dog { constructor(name) { this.name = name; } }
answered
Mar 9, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What's the output? (() => { let x = (y = 10); })();
answered
Mar 9, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What's the output? function Car() { this.make = 'Lamborghini'; return { make: 'Maserati' }; }
answered
Mar 9, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What's the output? function greeting() { throw 'Hello world!'; } function sayHi() {
answered
Mar 9, 2024
in
JavaScript
javascript-interview-quesitons-answers
0
votes
function getInfo(member, year) { member.name = 'Lydia'; year = '1998'; }
answered
Mar 9, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What's the output? [1, 2, 3].map(num => { if (typeof num === 'number') return; return num * 2; });
answered
Mar 7, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What's the value of num? const num = parseInt('7*6', 10);
answered
Mar 7, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What's the output? console.log(3 + 4 + '5');
answered
Mar 7, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What's the output? const person = { name: 'Lydia', age: 21, }; for (const item in person) { console.log(item); }
answered
Mar 7, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What's the output? let person = { name: 'Lydia' }; const members = [person]; person = null; console.log(members);
answered
Mar 7, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What does this return ? const firstPromise = new Promise((res, rej) =>
answered
Mar 7, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What's the output? function* generator(i) { yield i; yield i * 2; } const gen = generator(10);
answered
Mar 7, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What does this return? [...'Lydia'];
answered
Mar 7, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What does the setInterval method return in the browser? setInterval(() => console.log('Hi'), 1000);
answered
Mar 7, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
What's the output? !!null; !!''; !!1;
answered
Mar 7, 2024
in
JavaScript
javascript-interview-questions-answers
0
votes
A Developer is working on an application that handles 10MB documents that contain highly-sensitive data.
answered
Mar 5, 2024
in
AWS
aws-certified-developer-associate
Page:
« prev
1
...
50
51
52
53
54
55
56
57
58
59
60
...
183
next »
...