deep-freeze
recursively Object.freeze()
objects
example
var deepFreeze = ;;Bufferx = 5;console;Bufferprototypez = 3;console;
$ node example/deep.js
true
true
methods
var deepFreeze =
deepFreeze(obj)
Call Object.freeze(obj)
recursively on all unfrozen properties of obj
that
are functions or objects.
license
public domain
Based in part on the code snippet from the MDN wiki page on Object.freeze(), which is released to the public domain.