-
Notifications
You must be signed in to change notification settings - Fork 43
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
Array.of conflicts with ES6 Array.of proposal #32
Comments
Yeah, we should find a new name or syntax for this soon. |
👍 |
IMO this is the exact reason you don't extend natives in javascript, that's the one thing I really don't like about this library. What if we had an option to disable extending natives? and instead use a new global |
+1 to leave the built-in types alone |
+1 for schema.Array.of |
👍 |
See: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-array.of
According to MDN, it is currently implemented in Firefox 25, so clientside use of js-schema may cause unexpected behavior.
The text was updated successfully, but these errors were encountered: