Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Feb 27, 2022
1 parent 7e281db commit 0785d9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config/normalize/lib/star_dot_path/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ const validateAny = function (tokens) {
}

// TODO: optimize performance by stopping at soon as one entry is found
// TODO: check if a property key exists instead of checking if its value is
// `undefined`
export const has = function (target, queryOrPropNames) {
const tokens = maybeParse(queryOrPropNames)
const entries = listEntries(target, tokens)
Expand Down

0 comments on commit 0785d9e

Please sign in to comment.