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

The model.get method returns Object.prototype methods #3825

Closed
ZaValera opened this issue Oct 17, 2015 · 1 comment
Closed

The model.get method returns Object.prototype methods #3825

ZaValera opened this issue Oct 17, 2015 · 1 comment

Comments

@ZaValera
Copy link

var m = new Backbone.Model();

m.get('toString'); //-> function toString() { [native code] }

I think it would be correct to receive the undefined in this case.

@akre54
Copy link
Collaborator

akre54 commented Oct 18, 2015

See #1495 and the many duplicates.

@akre54 akre54 closed this as completed Oct 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants