1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 10:52:47 +00:00
Files
mywebsite/node_modules/es5-ext/test/function/#/to-string-tokens.js

13 lines
379 B
JavaScript

'use strict';
module.exports = function (t, a) {
a.deep(t.call(function (a, b) { return this[a] + this[b]; }),
{ args: 'a, b', body: ' return this[a] + this[b]; ' });
a.deep(t.call(function () {}),
{ args: '', body: '' });
a.deep(t.call(function (raz) {}),
{ args: 'raz', body: '' });
a.deep(t.call(function () { Object(); }),
{ args: '', body: ' Object(); ' });
};