Map vs Literal

Edit on GitHub

Setup

Tests

  • Map

    var map = new Map();
  • Literal

    var obj = {};