emptyObject.js 332 B

1234567891011121314151617
  1. /**
  2. * Copyright (c) 2013-present, Facebook, Inc.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. *
  7. */
  8. 'use strict';
  9. var emptyObject = {};
  10. if (process.env.NODE_ENV !== 'production') {
  11. Object.freeze(emptyObject);
  12. }
  13. module.exports = emptyObject;