Promise.resolveImplement a function to resolve a given value to a Promise
语言
JSTS
Promise.withResolversImplement a function that returns an object containing a new `Promise` object and two functions to resolve or reject it
语言
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
语言
JSTS
getElementsByTagNameImplement a function to get all DOM elements that match a tag
语言
HTMLJSTS
JSON.stringifyImplement a function that converts a JavaScript value into a JSON string
语言
JSTS
Promise.allSettledImplement the Promise.allSettled() function that resolves to an array of outcomes when all the input elements are either resolved or rejected
语言
JSTS
Promise.anyImplement the Promise.any() function that resolves when any of the input elements are resolved
语言
JSTS
getElementsByClassNameImplement a function to get all DOM elements that contain the specified classes