my-idlers/node_modules/es5-ext/test/object/for-each.js

8 lines
193 B
JavaScript
Raw Normal View History

"use strict";
module.exports = function (t, a) {
var o = { raz: 1, dwa: 2, trzy: 3 }, o2 = {};
a(t(o, function (value, name) { o2[name] = value; }), undefined, "Return");
a.deep(o2, o);
};