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

12 lines (10 loc) 291 B
'use strict'; module.exports = function (t, a) { var args, dummy; args = (function () { return arguments; }()); dummy = { '0': 1, '1': 2 }; Object.defineProperty(dummy, 'length', { value: 2 }); a(t(args), true, "Arguments"); a(t(dummy), false, "Dummy"); a(t([]), false, "Array"); };