Object.create(null) vs Object Literal

Edit on GitHub

Setup

Tests

  • Object.create(null)

    var object = Object.create(null);
  • Object Literal

    var object = {};