Opal-Estate-Pro/node_modules/memoizee/test/lib/resolve-length.js
2019-09-13 11:27:52 +07:00

11 lines
312 B
JavaScript
Executable File

"use strict";
module.exports = function (t, a) {
a(t(1, 2), 1, "Options");
a(t(1, 2, true), 1, "Options: Async ");
a(t(undefined, 2), 2, "Function");
a(t(undefined, 2, true), 1, "Function: Async");
a(t(undefined, undefined, false), 1, "Unknown");
a(t(undefined, undefined, true), 1, "Unknown: async");
};