CommonLookup vs Object.getOwnPropertyDescriptor

Edit on GitHub

Setup

var myObject = {
   property1: "value1"
};

Tests

  • CommonLookup

    myObject.property1;
  • Object.getOwnPropertyDescriptor

    Object.getOwnPropertyDescriptor(myObject, "property1");