]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/node_modules/grim/node_modules/emissary/node_modules/es6-weak-map/node_modules/d/test/auto-bind.js
89edfb88bbec535f82a7aef9cd9d1d897f0d5dff
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / grim / node_modules / emissary / node_modules / es6-weak-map / node_modules / d / test / auto-bind.js
1 'use strict';
2
3 var d = require('../');
4
5 module.exports = function (t, a) {
6 var o = Object.defineProperties({}, t({
7 bar: d(function () { return this === o; }),
8 bar2: d(function () { return this; })
9 }));
10
11 a.deep([(o.bar)(), (o.bar2)()], [true, o]);
12 };