demo_met_buffer_equals.js:
var buf1 = Buffer.from('abc'); var buf2 = Buffer.from('abc'); console.log(buf1.equals(buf2));
C:\Users\My Name>node demo_met_buffer_equals.js
true