Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use o.lastError to catch not found, instead of return arr #1

Open
futurist opened this issue Jul 6, 2017 · 0 comments
Open

use o.lastError to catch not found, instead of return arr #1

futurist opened this issue Jul 6, 2017 · 0 comments

Comments

@futurist
Copy link
Owner

futurist commented Jul 6, 2017

Methods get, set ensure can use this style

var x = o.get(obj, 'a.b.c.d')
if(o.error) console.log('not found', error)
futurist pushed a commit that referenced this issue Nov 11, 2023
Fixed parameter pollution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant