You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code produces a warning with the default lodash configuration:
functionfoo(x,y){return_.get(x,['bar',y,'baz']);// Use a string for paths [lodash/path-style]}
I don't think the warning should fire in this case. I could write _.get(x, 'bar.' + y + '.baz') (or use string interpolation in ES6) but I can't use a simple string literal in this case.
The text was updated successfully, but these errors were encountered:
The following code produces a warning with the default lodash configuration:
I don't think the warning should fire in this case. I could write
_.get(x, 'bar.' + y + '.baz')
(or use string interpolation in ES6) but I can't use a simple string literal in this case.The text was updated successfully, but these errors were encountered: