Extend

Docs | Utilities | Javascript | Extend
description jQuery Extend Replacement
type javascript
source src\dvc\js\_brayworth_.extend.js

Example

    let a = {
        "name" : "John Citizen",
        "dob" : "1970-01-01"
    };

    let b = {
        "name" : "John Citizen",
        "address" : "1 Albatross Avenue, Suburbia"
    };

    let c = _brayworth_.extend( a, b);

    console.log( c);
    /* {
        "address" : "1 Albatross Avenue",
        Suburbia", "name" : "John Citizen",
        "dob" : "1970-01-01"

    } */