Musique/node_modules/es5-ext/test/object/for-each.js

7 lines
193 B
JavaScript

"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);
};