1
0

count.js 296 B

1234567891011
  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,
  5. "Some properties");
  6. a(t(Object.defineProperties({}, {
  7. raz: { value: 'raz' },
  8. dwa: { value: 'dwa', enumerable: true }
  9. })), 1, "Some properties hidden");
  10. };