11.
What is a Promise in JavaScript ES6?
A method that dispatches an event to an EventTarget.
A technique used to prevent data mutation.
A loop construct that helps to run a block of code a number of times.
A built-in object used for asynchronous operation representing a value that may be available now or in the future.
Correct: D
JavaScript ES6 introduced Promises as a built-in object. A Promise in JavaScript is used for asynchronous operation and represents a value that may be available now or in the future. It is not related to looping constructs, immutability techniques, or event dispatching.