UNPKG

compound-ex4

Version:

Compound-ex4 - MVC framework for NodeJS (ExpressJs 4 version), fork compoundjs(https://github.com/1602/compound)

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"); };