Avoid naming the variable `args` as it is usually used for the entire function 
`arguments`.

Can also simplify the code

```js
const foundDifference = explodedTimestamp
  .some((part, i) => (explodedLowerBound[i] !== part));
const dateParts = explodedTimestamp
  .map((part, i) => foundDifference ? first[i] : part);
return Date.UTC(...dateParts)
```

[ Full content available at: 
https://github.com/apache/incubator-superset/pull/5785 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to