count.js 312 B

1234567891011121314
  1. "use strict";
  2. module.exports = function (t, a) {
  3. a(t({}), 0, "Empty");
  4. a(t({ raz: 1, dwa: null, trzy: undefined, cztery: 0 }), 4, "Some properties");
  5. a(
  6. t(
  7. Object.defineProperties(
  8. {}, { raz: { value: "raz" }, dwa: { value: "dwa", enumerable: true } }
  9. )
  10. ),
  11. 1, "Some properties hidden"
  12. );
  13. };