Sha256: 6a91b5f800a698e3becd9802dfab2776742a1f6f5be86b9b11da808531375d7b
Contents?: true
Size: 335 Bytes
Versions: 29
Compression:
Stored size: 335 Bytes
Contents
'use strict'; module.exports = function (t, a) { var f = function () {}; a(t(f), f, "Function"); 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
29 entries across 19 versions & 7 rubygems