SYNOPSIS
Object.create with a handler for methods that do not exist.
USAGE
Just add a callback to the end to catch non-existing methods.
This module requires the --harmony
flag, you can do something
like node --harmony filename.js
or #!/user/bin/env node --harmony
.
var createHandled = ;var assert = ok; var o = ; o { return 0;}; ;;