_define-length.js 330 B

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