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

9 lines (8 loc) 333 B
// 19.1.2.15 Object.preventExtensions(O) var isObject = require('./_is-object') , meta = require('./_meta').onFreeze; require('./_object-sap')('preventExtensions', function($preventExtensions){ return function preventExtensions(it){ return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it; }; });