create_.create(prototype, props)
Creates a new object with the given prototype, optionally attaching props as own properties. Basically, Object.create, but without all of the property descriptor jazz.
1 | var moe = _.create(Stooge.prototype, {name: "Moe" }); |
Please login to continue.