File size: 177 Bytes
be5030f
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
var deepFreeze = require('../');

deepFreeze(Buffer);
Buffer.x = 5;
console.log(Buffer.x === undefined);

Buffer.prototype.z = 3;
console.log(Buffer.prototype.z === undefined);