this repo is some code for reproduction and fun hope it helps
git clone npm install
refer https://wanago.io/2019/02/18/typescript-node-js-eventemitter/ work with
npm event_call_overdose
you should see "Maximum call stack size exceeded"
refer https://wanago.io/2019/02/25/node-js-typescript-3-the-buffer/
you should see
testA
Hello ��� world!
testB
Hello 🌎 world!