You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
330 B
14 lines
330 B
"use strict"; |
|
|
|
module.exports = function (t, a) { |
|
var foo = "raz", bar = "dwa" |
|
, fn = function (a, b) { |
|
return this + a + b + foo + bar; |
|
} |
|
, result; |
|
|
|
result = t(fn, 3); |
|
a(result.call("marko", "el", "fe"), "markoelferazdwa", "Content"); |
|
a(result.length, 3, "Length"); |
|
a(result.prototype, fn.prototype, "Prototype"); |
|
};
|
|
|