Events and Buffers
Many Node APIs emit events. Buffers hold binary data. You will meet both when handling uploads and sockets.
- EventEmitter pattern: on / emit.
- Buffers are fixed-length byte sequences.
- Prefer streams for large data.
console.log("events-ok");
After you read this chapter, use Write (when available) and Quiz on this page to lock it in.