How to add an object to an existing javascript object ? here's a sample of an existing javascript object
   var dataObj = {
       TITLE : adtitle,
       DESC : addesc,
       PRICE : price,
       DISCOUNT : discount,
       CATID : maincatid,
       STATUS : adstatus,
       QUANTITY : quantity  
   };
now I have this file object and i want to add it to that object above.
File { name: "paper.jpg", lastModified: 1445433597723, lastModifiedDate: Date 2015-10-21T13:19:57.723Z, size: 54900, type: "image/jpeg" }
this file object is a value from a file upload input type
var image1 = $('#Image1').prop("files")[0];
var image2 = $('#Image2').prop("files")[0];
then i also need to fire a $.post
   $.post("<?php echo Yii::app()->createUrl('/post'); ?>", { jsonData: postdata}, function(response){
            console.log(response);
        });
all of those scripts above are triggered when I clicke a button
   $('#postit').click(function(e){
          //all the scripts from above
   });
 
     
    