javascript
beginner
解決済み
2026-11-17 終了
Build a tiny event emitter
Write a class Emitter with:
on(event, handler): subscribe; returns a function that unsubscribes.once(event, handler): subscribe for one call only.emit(event, ...args): call every handler foreventin the order they subscribed.
これまでに 0 人が解きました。
エディターCtrl + Enter
テストが "All tests passed" と表示すると、このブラウザーでチャレンジが解決済みになります。
解答をレビューに提出