Skip to main content
PProfileMatch

Node.js · Node.js File System, Streams and Buffers: Read Big Files Safely

Question 1 of 5

What does this print for the string length and the byte length?

const s = "naïve ₹5";
console.log(s.length, Buffer.byteLength(s));

Tip: press 1-4 to answer, Enter to continue. Finish the quiz to bank your XP.