UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

10 lines 319 B
'use strict'; // 19.1.3.6 Object.prototype.toString() var classof = require('./_classof') , test = {}; test[require('./_wks')('toStringTag')] = 'z'; if(test + '' != '[object z]'){ require('./_redefine')(Object.prototype, 'toString', function toString(){ return '[object ' + classof(this) + ']'; }, true); }