import { IS_DEBUG } from './debug';

const obj = {};

if(IS_DEBUG) {
    Object.freeze(obj);
}

export default obj;
import { IS_DEBUG } from './debug';

const obj = Object.create(null);

if(IS_DEBUG) {
    Object.freeze(obj);
}

export default obj;

Use object without prototype as empty object
Use object without prototype as empty object
