]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/node_modules/grim/node_modules/emissary/node_modules/es6-weak-map/node_modules/es5-ext/test/object/keys/shim.js
ed29eebcd751f7a2229ad67a02f739e0dc5eb16d
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / grim / node_modules / emissary / node_modules / es6-weak-map / node_modules / es5-ext / test / object / keys / shim.js
1 'use strict';
2
3 module.exports = function (t, a) {
4 a.deep(t({ foo: 'bar' }), ['foo'], "Object");
5 a.deep(t('raz'), ['0', '1', '2'], "Primitive");
6 a.throws(function () { t(); }, TypeError, "Undefined");
7 a.throws(function () { t(null); }, TypeError, "Undefined");
8 };