EventEmitter Counter

NodeJS Medium 3 views
Back to Questions
Next Promise Chain Order Hard N

Problem Description

Use EventEmitter to count events and print the total.

Input Format

No input.

Output Format

Print integer.

Constraints

Emit 'hit' event three times.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Next