lepu-test-platform-web/node_modules/es5-ext/test/object/is-callable.js

9 lines
179 B
JavaScript
Raw Normal View History

"use strict";
module.exports = function (t, a) {
a(t(function () {}), true, "Function");
a(t({}), false, "Object");
a(t(), false, "Undefined");
a(t(null), false, "Null");
};