phaser - v4.0.0-rc.4
    Preparing search index...
    • Creates a new Object using all values from obj1.

      Then scans obj2. If a property is found in obj2 that also exists in obj1, the value from obj2 is used, otherwise the property is skipped.

      Parameters

      • obj1: object

        The first object to merge.

      • obj2: object

        The second object to merge. Keys from this object which also exist in obj1 will be copied to obj1.

      Returns object