Question d’entretien chez Slack

Why is javascript a good usecase of the pub/sub model?