O'Reilly logo
  • Philip Garrett thinks this is interesting:

router.on(​'message'​, (...frames) => dealer.send(frames));​ dealer.on(​'message'​, (...frames) => router.send(frames));

From

Cover of Node.js 8 the Right Way

Note

This is confusing. It seems like an infinite loop.