Write an emitter class: /* emitter = new Emitter(); // 1. Support subscribing to events. sub = emitter.subscribe('event_name', callback); sub2 = emitter.subscribe('event_name', callback2); // 2. Support emitting events. // This particular example should lead to the `callback` above being invoked with `foo` and `bar` as parameters. emitter.emit('event_name', foo, bar); // 3. Support unsubscribing existing subscriptions by releasing them. sub.release(); // `sub` is the reference returned by `subscribe` above
Front End Software Engineer Interview Questions
21,140 front end software engineer interview questions shared by candidates
Have you ever been in customer service?
Angular auth guards,directives,json data, optimization techniques, routing
Name 2 strength and 2 weakness about your self. Or about your last job.
What do I consider "Giving good customer service"?
Name a time when you did the right thing when no one was looking?
What does HTML stand for?
Would you be willing to relocate without assistance?
In Javascript, what is the === symbol?
Como você faz para se atualizar com as tecnologias atuais?
Viewing 1891 - 1900 interview questions