Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

prime.create inconsistent on new vs older environments. #14

Closed
jdalton opened this issue Mar 3, 2013 · 1 comment
Closed

prime.create inconsistent on new vs older environments. #14

jdalton opened this issue Mar 3, 2013 · 1 comment

Comments

@jdalton
Copy link

jdalton commented Mar 3, 2013

Because prime.create uses native ES5 Object.create when available it will support prime.create(null), useful for creating blank data objects, in newer environments but not older environments. Also because it uses Object.create in newer environments it will support a second descriptors argument, but not in older environments.

@kamicane
Copy link
Owner

kamicane commented Jul 5, 2013

Closing, as the split-generics branch is now on master. object/create.js uses plain js.

@kamicane kamicane closed this as completed Jul 5, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants