title: Lodash get vs. es6 fallback values?
body: <p>How does Lodash compare to using the new ES6 optional arguments?</p>
  
  <p>I have the following code:</p>
  
  <pre><code>location: {
    latitude: response.pickupLocation.latitude || "",
    longitude: response.pickupLocation.longitude || ""
  },
  </code></pre>
  
  <p>With Lodash I know I could run:</p>
  
  <pre><code>latitude: get(response, 'pickupLocation.latitude', '')
  </code></pre>
  
  <p>Or alternatively I could create a function that takes in the object and path and always returns <code>''</code>as the default fallback. Is there any advantage to using Lodash here other than the fact that the code would be shorter?</p>