Promise.resolveImplement a function to resolve a given value to a Promise
Languages
JSTS
Promise.withResolversImplement a function that returns an object containing a new `Promise` object and two functions to resolve or reject it
Languages
JSTS
Event Emitter IIImplement a class that can subscribe to and emit events that trigger attached callback functions. Subscription objects are returned and can unsubscribe itself
Languages
JSTS
getElementsByTagNameImplement a function to get all DOM elements that match a tag
Languages
HTMLJSTS
JSON.stringifyImplement a function that converts a JavaScript value into a JSON string
Languages
JSTS
Promise.allSettledImplement the Promise.allSettled() function that resolves to an array of outcomes when all the input elements are either resolved or rejected
Languages
JSTS
Promise.anyImplement the Promise.any() function that resolves when any of the input elements are resolved
Languages
JSTS
getElementsByClassNameImplement a function to get all DOM elements that contain the specified classes