Q11easy
What is the output of this code snippet?
Topic-wise practice questions for Web Development. Test your knowledge, check solutions on demand, and pace your preparation.
const arr1 = [1, 2];
const arr2 = [...arr1, 3];
console.log(arr2);
Promise.allSettled()?
const val = null;
const x = val ?? 'Default';