You need to compose a program by arranging lines of code. The program should show that after applying the toString method, we are working with a string, and not with a buffer.
Buffer module
isBuffer
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
const stringFromBuffer = buffer.toString();
console.log(Buffer.isBuffer(stringFromBuffer));
const buffer = Buffer.from(data);
const { Buffer } = require('node:buffer');
const data = [72, 105];
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.