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
Difficulty
Medium
Languages
JSTS
getElementsByTagNameImplement a function to get all DOM elements that match a tag
Difficulty
Medium
Languages
HTMLJSTS
JSON.stringifyImplement a function that converts a JavaScript value into a JSON string
Difficulty
Medium
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
Difficulty
Medium
Languages
JSTS
Promise.anyImplement the Promise.any() function that resolves when any of the input elements are resolved
Difficulty
Medium
Languages
JSTS
getElementsByClassNameImplement a function to get all DOM elements that contain the specified classes