What does `Reflect.ownKeys(obj)` return compared to `Object.keys(obj)`? JavaScript DeveloperHard Try Now
What is the output of the following? “`js function* gen() { yield 1; yield 2; return 3; } const g = gen(); console.log([…g]); “` JavaScript DeveloperHard Try Now
What happens when you access a variable in the Temporal Dead Zone (TDZ)? JavaScript DeveloperHard Try Now
What is the output of the following? “`js console.log(typeof class {}); “` JavaScript DeveloperHard Try Now
What is the output of the following code? “`js const obj = {x: 1}; Object.defineProperty(obj, ‘y’, { value: 2, writable: false, enumerable: false }); console.log(Object.keys(obj)); “` JavaScript DeveloperHard Try Now
What is `Map` in JavaScript and how does it differ from a plain object? JavaScript DeveloperEasy Try Now
What does `Number.isNaN(NaN)` return compared to the global `isNaN(NaN)`? JavaScript DeveloperEasy Try Now
Which method returns a new array with all elements that pass the implemented test? JavaScript DeveloperEasy Try Now