Question Bank
3705 approved questions from the community
What keyword is used to declare a data class in Kotlin?
What is the primary purpose of data classes in Kotlin?
What does Array.prototype.push() return?
What does Array.prototype.pop() do?
What does Array.prototype.shift() do?
What does Array.prototype.unshift() do?
Object.assign() performs a deep copy of objects.
Math.random() returns a number between 0 (inclusive) and 1 (exclusive).
What is Cross-Origin Resource Sharing (CORS)?
What is the difference between document.load and document.DOMContentLoaded?
Cross-Site Scripting (XSS) can be prevented by sanitizing user input.
What are the three states of a Promise?
What is destructuring in JavaScript?
What is the difference between shallow copy and deep copy?
What does JSON.stringify() do?
What does the ternary operator look like?
What does String.prototype.split() return?
What are Symbols used for in JavaScript?
Variables declared with 'var' are block-scoped.
What is prototypal inheritance in JavaScript?