@nevware21/ts-utils
    Preparing search index...

    Function objCreate

    • Creates an object that has the specified prototype, and that optionally contains specified properties. This helper exists to avoid adding a polyfil for older browsers that do not define Object.create eg. ES3 only, IE8 just in case any page checks for presence/absence of the prototype implementation. Note: For consistency this will not use the Object.create implementation if it exists as this would cause a testing requirement to test with and without the implementations

      Parameters

      • obj: any

        Object to use as a prototype. May be null

      • Optionalproperties: PropertyDescriptorMap & ThisType<any>

        JavaScript object that contains one or more property descriptors.

      Returns any