Sha256: fa8b39c2509a98b74695f17c2ef55225236fbed87b40b963a3cdba9fed6b69f4
Contents?: true
Size: 388 Bytes
Versions: 46
Compression:
Stored size: 388 Bytes
Contents
"use strict"; module.exports = function (t, a) { var f = function () {}; a(t(f), f, "Function"); // eslint-disable-next-line no-new-func f = new Function(); a(t(f), f, "Function"); a.throws(function () { t({}); }, "Object"); a.throws(function () { t(/re/); }, "RegExp"); a.throws(function () { t({ call: function () { return 20; } }); }, "Plain object"); };
Version data entries
46 entries across 46 versions & 3 rubygems