Avoid naming the variable `args` as it is usually used for the entire function `arguments`.
Can also simplify the code ```js const firstDiffIndex = explodedTimestamp .map((part, i) => (explodedLowerBound[i] !== part)) .indexOf(true); const dateParts = firstDiffIndex > -1 ? explodedTimestamp.map((part, i) => i >= firstDiffIndex ? lowest[i] : part) : explodedTimestamp; 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]
