phaser - v4.0.0-rc.4
    Preparing search index...
    • Creates a new Object using all values from obj1 and obj2. If a value exists in both obj1 and obj2, the value in obj1 is used.

      This is only a shallow copy. Deeply nested objects are not cloned, so be sure to only use this function on shallow objects.

      Parameters

      • obj1: object

        The first object.

      • obj2: object

        The second object.

      Returns object