understanding $.extend

understanding $.extend

Hey guys , i have a question about the extend function , check out my fiddle . 


now i hav ethe following code : 

  1. var a = {
  2.          'lala' : 'one',
  3.          'baba' : 'two', 
  4.          'dada'  : 'three',
  5.          'kaka'  : 'four',
  6.          }

  7.          var b = {
  8.          'lala' : 'one',
  9.          'baba' : 'two', 
  10.          'dada'  : 'three',
  11.          'kaka'  : 'four',
  12.          }

  13.          var _str = $.extend({} , b , a);

  14.          console.log(_str);

now the doc's says that when u add an empty {} object literal as the 1st param , the merged objects are preserved . but i don't see a difference doing either , 

  1. var _str = $.extend({} , b , a);
or 

  1. var _str = $.extend( b , a);
the result is 

Object { lala: "one", baba: "two", dada: "three", kaka: "four" }

also what is the 4th param in $.extend for ?. 

Thanks .