makapaka
1 year ago
51
2
Spark

What is $.extend in Spark js

Posted 1 year ago by makapaka

As I work my way through Spark I'm trying to actually understand what i'm doing instead of just winging it :)

So in update-contact-information.js we have

data() {
    return {
        form: $.extend(true, new SparkForm({
            name: '',
            email: ''
        }), Spark.forms.updateContactInformation)
    };
},

I want to actually understand what $.extend means in this context ?

Please sign in or create an account to participate in this conversation.