Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const bullShitStream = {
- eachCall: (callback) => {
- setTimeout(() => callback('Hi'), 1000)
- setTimeout(() => callback('fi'), 2000)
- setTimeout(() => callback('Hipstar'), 3000)
- }
- }
- bullShitStream.eachCall(console.log)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement