functional approach vs IE6

Edit on GitHub

asd

Setup

var obj = {1: 11, 2: 22};

Tests

  • functional approach

    Object.keys(obj).map(function (key) { return obj[key]; });
  • IE6

    Object.keys(obj).map(key => obj[key])