_define-length.js 321 B

12345678910
  1. "use strict";
  2. module.exports = function (t, a) {
  3. var foo = "raz", bar = "dwa", fn = function (a, b) { return this + a + b + foo + bar; }, result;
  4. result = t(fn, 3);
  5. a(result.call("marko", "el", "fe"), "markoelferazdwa", "Content");
  6. a(result.length, 3, "Length");
  7. a(result.prototype, fn.prototype, "Prototype");
  8. };