You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
312 B

4 years ago
"use strict";
module.exports = function (t, a) {
a(t({}), 0, "Empty");
a(t({ raz: 1, dwa: null, trzy: undefined, cztery: 0 }), 4, "Some properties");
a(
t(
Object.defineProperties(
{}, { raz: { value: "raz" }, dwa: { value: "dwa", enumerable: true } }
)
),
1, "Some properties hidden"
);
};